コード例 #1
0
 void OnDestroy()
 {
     s_Current = null;
     m_TeleportSelector?.Dispose();
     ReflectProjectsManager.Dispose();
     m_DisposeOnDestroy.ForEach(x => x.Dispose());
 }
コード例 #2
0
 void OnDestroy()
 {
     stateChanged               = delegate {};
     sessionStateChanged        = delegate {};
     projectStateChanged        = delegate {};
     arStateChanged             = delegate {};
     debugStateChanged          = delegate {};
     applicationStateChanged    = delegate {};
     roomConnectionStateChanged = delegate {};
     externalToolChanged        = delegate {};
     s_Current = null;
 }
コード例 #3
0
        void Awake()
        {
            /// TODO: pseudo singleton will be deleted
            if (s_Current == null)
            {
                s_Current = this;
            }

            DetectCapabilities();
            AwakeActions();
            AwakePipeline();
            AwakeMultiplayer();
        }
コード例 #4
0
        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;
            }
        }