// 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(); }
void Awake() { Instance = this; }