public static bool InGame (PSScene scene) { return scene == PSScene.MainGame || scene == PSScene.TutorialScene; }
// Uses an enum to load a scene // For this to work: build settings must correspond to the PSScene Enum order public static void LoadScene (PSScene scene) { SceneManager.LoadScene((int) scene); }