void Awake() { Test(); _Instance = this; foreach (Transform trans in mMainNodeTrans) { if (null != trans) { trans.gameObject.SetActive(true); } } mxObjectElement = new NFObjectElement(); mxObjectGM = new NFObjectGM(); mConfig = new NFConfig(); mConfig.Load(); mConfig.GetSelectServer(ref strTargetIP, ref nPort); NFCKernelModule.Instance.GetLogicClassModule().SetDataPath(mConfig.GetDataPath()); NFCKernelModule.Instance.Init(); }
void Awake() { _Instance = this; foreach (Transform trans in mTrans) { if (null != trans) { trans.gameObject.SetActive(true); } } }
void Awake() { _Instance = this; foreach (Transform trans in mTrans) { if (null != trans) { trans.gameObject.SetActive(true); } } mConfig = new NFConfig(); mConfig.Load(); mConfig.GetSelectServer(ref strTargetIP, ref nPort); NFCKernelModule.Instance.GetLogicClassModule().SetDataPath(mConfig.GetDataPath()); NFCKernelModule.Instance.Init(); }