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