You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$"Tried to load AirshipComponent ({name}) on GameObject ({gameObject.name}) in a scene not found in GameConfig.scenes. Please add \"{sceneName}\" to your Assets/GameConfig.asset");
57
+
}
58
+
}
59
+
_validatedSceneInGameConfig=true;
60
+
}
61
+
#endif
37
62
38
-
// TODO:
39
63
// Assume protected context for bindings within CoreScene
40
-
// if (!this.contextOverwritten && ((gameObject.scene.name is "CoreScene" or "MainMenu") || (SceneManager.GetActiveScene().name is "CoreScene" or "MainMenu")) && ElevateToProtectedWithinCoreScene) {
41
-
// context = LuauContext.Protected;
42
-
// }
64
+
if(!forceContext&&((gameObject.scene.nameis"CoreScene" or "MainMenu")||(SceneManager.GetActiveScene().nameis"CoreScene" or "MainMenu"))&&ElevateToProtectedWithinCoreScene){
// Assume protected context for bindings within CoreScene
101
+
if(!forceContext&&((gameObject.scene.nameis"CoreScene" or "MainMenu")||(SceneManager.GetActiveScene().nameis"CoreScene" or "MainMenu"))&&ElevateToProtectedWithinCoreScene){
0 commit comments