Ejemplo n.º 1
0
 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();
 }
Ejemplo n.º 2
0
    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;
        }
    }