public void StopDispatcherAction() { if (ReaderWorld != null) { ReaderWorld.Clear(); //m_DispatcherWorldActions.ResetDispatcher(); if (m_DispatcherWorldActions != null) { m_DispatcherWorldActions.StopDispatcher(); //m_DispatcherWorldActions.enabled = false; //m_DispatcherWorldActions = null; } } PortalsManager.Stop(); }
public void ResetDataId() { if (ReaderWorld != null) { ReaderWorld.Clear(); ReaderWorld.InitCollectionID(); //if (m_DispatcherWorldActions == null) //{ // m_DispatcherWorldActions = MainCamera.GetComponent<DispatcherWorldActions>(); // if (m_DispatcherWorldActions == null) // { // Debug.Log("Storage.Start : DispatcherWorldActions not load !!!"); // return; // } //} m_DispatcherWorldActions.ResetDispatcher(); //m_DispatcherWorldActions.enabled = true; } }