public void Awake() { if (_instance != null) { Destroy(gameObject); return; } Debug.Log("Aweake"); instance = this; DontDestroyOnLoad(gameObject); // Initialize network net = new NetLogic(); }
internal GameAPI(ClientHandler client, ScriptScope scope) { this.client = client; _netLogic = new NetLogic(); _scope = scope; }
void OnDealCard() { NetLogic.RequestNet(eProtocalCommand.GAME_DEAL_CARD, null); }