예제 #1
0
 /// <summary>
 /// 断线重连和正常游戏都走这,开始游戏
 /// </summary>
 private void TrueGaming()
 {
     if (reConnectIndex == 0)
     {
         reConnectIndex  = -1;
         CurrentPlayType = FramePlayType.游戏中;
         CameraManager.instance.SetCameraEnable(true);
         CameraManager.instance.SetCameraFollow(GameManager.instance.GetMyControl().cameraParent);
         GameRunUI.Show();
         //ShowModelUIName();
         //最后关闭loading
         GameLoadingUI.Close();
     }
 }
예제 #2
0
 private void SetGaming()
 {
     GameRunUI.Show();
     //敌人AI移动
     for (int i = 0; i < showEnemy.Count; i++)
     {
         showEnemy[i].GetComponent <RandomMove>().SetMove();
     }
     //后排计时开始
     for (int i = 0; i < showSupport.Count; i++)
     {
         showSupport[i].SetMark();
     }
 }