File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,9 @@ public class ModuleManager : MonoBehaviour
3535 public static bool dumpPostPatch = false ;
3636 public static bool DontCopyLogs { get ; private set ; } = false ;
3737
38+ [ Obsolete ( "This attribute is not Standard MM. Do not use it on things to be published on Forum" ) ]
39+ public static bool IsExperimentalActive { get ; private set ; } = false ;
40+
3841 [ Obsolete ( "This attribute is not Standard MM. Do not use it on things to be published on Forum" ) ]
3942 public static bool IsLoadedFromCache { get ; internal set ; }
4043
@@ -158,6 +161,11 @@ internal void Awake()
158161 DontCopyLogs = Environment . GetCommandLineArgs ( ) . Contains ( "-mm-dont-copy-logs" ) ;
159162 IgnoreCache = Environment . GetCommandLineArgs ( ) . Contains ( "-ignore-cache" ) ;
160163
164+ #pragma warning disable CS0618 // Type or member is obsolete
165+ // To supress features non Stock.
166+ IsExperimentalActive = Environment . GetCommandLineArgs ( ) . Contains ( "-mm-experimental" ) ;
167+ #pragma warning restore CS0618 // Type or member is obsolete
168+
161169 loadedInScene = true ;
162170 }
163171
You can’t perform that action at this time.
0 commit comments