void OnDestroy() { s_Current = null; m_TeleportSelector?.Dispose(); ReflectProjectsManager.Dispose(); m_DisposeOnDestroy.ForEach(x => x.Dispose()); }
void OnDestroy() { stateChanged = delegate {}; sessionStateChanged = delegate {}; projectStateChanged = delegate {}; arStateChanged = delegate {}; debugStateChanged = delegate {}; applicationStateChanged = delegate {}; roomConnectionStateChanged = delegate {}; externalToolChanged = delegate {}; s_Current = null; }
void Awake() { /// TODO: pseudo singleton will be deleted if (s_Current == null) { s_Current = this; } DetectCapabilities(); AwakeActions(); AwakePipeline(); AwakeMultiplayer(); }
void Awake() { /// TODO: pseudo singleton will be deleted if (s_Current == null) { s_Current = this; } DetectCapabilities(); AwakeActions(); AwakePipeline(); AwakeMultiplayer(); foreach (var info in m_UIStateData.navigationStateData.navigationModeInfos) { m_SceneDictionary[info.navigationMode] = info.modeScenePath; } }