Character customization in pun2
Hey guys, i'm new to photon. I did some research and followed some tutorials but haven't found a solution yet. Started prototyping my 2D sidescrolling arena shooter with pun, I'm stuck on the customization part. Can I use sprite library in unity for this? or some other solution that works well with my 2D character rigged with IK. It'll be the prefab that I would spawn as a character in game. How to change skins of that prefab in a customization menu. It's hard to understand because does the method I chose works in multiplayer. Any help or guide will be useful. Thanks in advance!
Answers
-
You can instantiate a networked character from a prefab and run code on it to change the appearance. With that done, you need to somehow sync how to sync the character in the first place. This can be done in Custom Player Properties or you can send some data / parameters along with the Instantiate call.
0