public static void Startup() { string text = "Startup()"; Application.set_targetFrameRate(30); ShaderGlobal.Initialize(); EffectManager.Startup(); }
public void UnloadStage() { //IL_006f: Unknown result type (might be due to invalid IL or missing references) //IL_0091: Unknown result type (might be due to invalid IL or missing references) //IL_00b9: Unknown result type (might be due to invalid IL or missing references) //IL_00e1: Unknown result type (might be due to invalid IL or missing references) //IL_0109: Unknown result type (might be due to invalid IL or missing references) //IL_0146: Unknown result type (might be due to invalid IL or missing references) if (MonoBehaviourSingleton <EffectManager> .IsValid()) { MonoBehaviourSingleton <EffectManager> .I.DeleteManagerChildrenEffects(); } if (MonoBehaviourSingleton <InstantiateManager> .IsValid()) { MonoBehaviourSingleton <InstantiateManager> .I.ClearStocks(); } if (stageObject != null) { stageObject.set_parent(null); SceneManager.LoadScene("Empty"); stageObject = null; ShaderGlobal.Initialize(); MonoBehaviourSingleton <GlobalSettingsManager> .I.ResetLightRot(); MonoBehaviourSingleton <GlobalSettingsManager> .I.ResetAmbientColor(); Input.get_gyro().set_enabled(true); } if (skyObject != null) { Object.Destroy(skyObject.get_gameObject()); skyObject = null; } if (rootEffect != null) { Object.Destroy(rootEffect.get_gameObject()); rootEffect = null; } if (cameraLinkEffect != null) { Object.Destroy(cameraLinkEffect.get_gameObject()); cameraLinkEffect = null; } if (cameraLinkEffectY0 != null) { Object.Destroy(cameraLinkEffectY0.get_gameObject()); cameraLinkEffectY0 = null; } currentStageName = null; currentStageData = null; backgroundImageID = 0; if (backgroundImage != null) { Object.Destroy(backgroundImage.get_gameObject()); backgroundImage = null; } }