Sfoglia il codice sorgente

修复机器人个数Bug

liuqilin 7 anni fa
parent
commit
e37b332553

+ 2 - 2
Assets/Script/SFS/Manager/BaseConnector.cs

@@ -9,8 +9,8 @@ public abstract class BaseConnector
     public GardenSmartFox GardenSmartFox;
 
     public static int TcpPort = 9933;
-    //public static string Host = "121.199.20.79";
-    public static string Host = "127.0.0.1";
+    public static string Host = "121.199.20.79";
+    //public static string Host = "127.0.0.1";
     public static string Zone = "GardenTest";
 
     public Action<BaseEvent> onConnectSucceed;

+ 1 - 0
Assets/Script/Tool/Auxiliary.cs

@@ -143,6 +143,7 @@ public class Auxiliary : Regist
 
         if (Input.GetKeyDown(KeyCode.Space))
         {
+            ManaCenter.Level = 28;
             //RobotManager.AddRobot(SFSManager.GardenSmartFox.PlazaRoomManager.CurrentPlazaRoom.Id, 19, position, PlayerDirection.Left);
             //Resources.UnloadAsset(ManaReso.Get("U_LoadingPanel"));
             //foreach (var VARIABLE in ChestMge.PlazaRoomChests)