I'm using Unity C# with Photon server for my mobile game, and i am register custom type by PhotonPeer.RegisterType. Now i want to build a web client, using HTML5 and js, use same server with mobile client. I was parse my C# code to js code success, but dont know how to use PhotonPeer.RegisterType in js, please help me to solve it. thanks.
↧