예제 #1
0
 public void ClearBigWorld()
 {
     if (m_bigWorldSystem != null)
     {
         m_bigWorldSystem.OnDestory();
         GameEvents.UIEvents.UI_Loading_Event.OnStartLoading = null;
         m_bigWorldSystem = null;
     }
 }
예제 #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);
     }
 }