private void Awake() { GameEvents.AddGameEvent(eGameEventTypes.DataReceiverConnected, OnConnected); GameEvents.AddGameEvent(eGameEventTypes.DataReceiverDisConnected, OnDisconnected); GameEvents.AddGameEvent(eGameEventTypes.DataReceiverSyncing, StartReceiving); GameEvents.AddGameEvent(eGameEventTypes.DataReceiverSyncOver, ReceivingOver); }
private void Awake() { GameEvents.AddGameEvent(eGameEventTypes.DataSendConnected, OnConnected); GameEvents.AddGameEvent(eGameEventTypes.DataSendDisConnected, OnDisconnect); GameEvents.AddGameEvent(eGameEventTypes.DataSenderSyncOver, OnDataSyncOver); }