Example #1
0
 /// <summary>
 /// Called by PhotonNetwork.OnEventCall registration
 /// </summary>
 /// <param name="photonEvent">Photon event.</param>
 public void OnEvent(EventData photonEvent)
 {
     ProcessOnEvent(photonEvent.Code, photonEvent.CustomData(), photonEvent.Sender());
 }