[Unity] Duplicated callback interfaces from IChatClientListener and IConnectionCallbacks

Both IChatClientListener and IConnectionCallbacks interfaces require me to implement methods called "OnConnected" and "OnDisconnected", but how do I distinguish where they invoked from? I need to handle them both independently.

And the documentation is too poor, especially Chat demo, the code just implements all methods with just meaningless throwing unimplemented exceptions. Seriously, the demo code is useless who tries to learn how to use it.

https://doc.photonengine.com/en-us/chat/current/tutorials/chat-demo

I'm using Unity 2019.4.3f1 and imported the latest PUN2 package from the unity asset store.

Comments