private void OnConnected(Session session, SessionParam args) { LogHelper.Print("[NetMgr]Session Connected."); ProtoHelper.Register(); if (!GameMgr.singleton.CheckUpdateState) { GameMgr.singleton.CheckUpdateState = true; _checkUpdateState = true; } }
private void OnConnected(Session session, SessionParam args) { LogHelper.Print(string.Format("[NetMgr]Session Connected!")); ProtoHelper.Register(); if (!GameMgr.Instance.CheckUpdateState) { GameMgr.Instance.CheckUpdateState = true; _checkUpdateState = true; } }