Ejemplo n.º 1
0
 public void EnterBigWorld()
 {
     if (m_bigWorldSystem == null)
     {
         LoadBigWorld();
         return;
     }
     m_bigWorldSystem.OnEnterBigWorld();
 }
Ejemplo n.º 2
0
 public void LoadBigWorld(string openUIName = "", bool needShowMainUI = true, long buildID = 1)
 {
     if (m_bigWorldSystem != null)
     {
         GameEvents.BigWorld_Event.OnCameraMove.SafeInvoke(buildID);
         return;
     }
     SeekerGame.NewGuid.GuidNewManager.Instance.ReLoadGuid(10006);
     UnityEngine.Debug.Log("Load BigWorld");
     HedgehogTeam.EasyTouch.EasyTouch.SetEnableAutoSelect(false);
     m_bigWorldSystem = new BigWorldSystem();
     if (m_bigWorldSystem.IsNeedProgress())
     {
         LoadingProgressManager.Instance.LoadBigWorldScene(() =>
         {
             m_bigWorldSystem.OnEnterBigWorld(openUIName, needShowMainUI, buildID);
         });
     }
     else
     {
         m_bigWorldSystem.OnEnterBigWorld("", true, buildID);
     }
 }