Ejemplo n.º 1
0
 // Use this for initialization
 void Start()
 {
     Debug.Log("StartCommand: 001");
     DefaultIp   = SystemSettingHelper.systemSetting.CommunicationSetting.Ip1;
     DefaultPort = SystemSettingHelper.systemSetting.CommunicationSetting.Port1;
     if (login == null)
     {
         login = DianChangLogin.Instance;
     }
     if (SystemSettingHelper.systemSetting.IsDebug)
     {
         SetTestPanel(true);
     }
     else
     {
         SetTestPanel(false);
     }
     //初始化通信
     StartCommandRun();
 }
Ejemplo n.º 2
0
 void Awake()
 {
     Instance = this;
 }