In the C# client, I just implement IPhotonPeerListener.OnEvent( EventData eventData ) and my custom events work fine. Not the case in the JS api...
Looking at the JS API docs, all the methods for adding event handlers take a string "name" as the 1st parameter. What if it's a custom event code (byte) ?
Not using Lite, by the way.
Looking at the JS API docs, all the methods for adding event handlers take a string "name" as the 1st parameter. What if it's a custom event code (byte) ?
Not using Lite, by the way.