protected void Init(string server, int port) { netCenter = new NetCenter(); netCenter.init(server, port); msgHander = new MsgHander(); msgHander.Init(); screen_Debug_Log_C2S = GameCenter.instance.screen_Debug_Log_C2S; editor_Debug_Log_C2S = GameCenter.instance.editor_Debug_Log_C2S; }