mirror of
https://github.com/originalnicodr/CinematicUnityExplorer.git
synced 2026-10-11 09:58:02 +08:00
Add configurable reflection signature blacklist, extends to MCS as well
This commit is contained in:
1 parent
843d7ed451
commit
ccd08c3a63
6 files changed
+241
-75
No files matched your search
@@ -18,7 +18,7 @@ namespace UnityExplorer.Loader.ML
|
||||
|
||||
public override void Init()
|
||||
{
|
||||
prefCategory = MelonPreferences.CreateCategory(CTG_NAME, $"{CTG_NAME} Settings");
|
||||
prefCategory = MelonPreferences.CreateCategory(CTG_NAME, $"{CTG_NAME} Settings", false, true);
|
||||
}
|
||||
|
||||
public override void LoadConfig()
|
||||
@@ -36,7 +36,7 @@ namespace UnityExplorer.Loader.ML
|
||||
|
||||
public override void RegisterConfigElement<T>(ConfigElement<T> config)
|
||||
{
|
||||
var entry = prefCategory.CreateEntry(config.Name, config.Value, null, config.IsInternal) as MelonPreferences_Entry<T>;
|
||||
var entry = prefCategory.CreateEntry(config.Name, config.Value, null, config.Description, config.IsInternal, false);
|
||||
|
||||
entry.OnValueChangedUntyped += () =>
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user