- Home /
Allowing users to create customizable characters
Hello I'm relatively new to game design and scripting but fluent in c# so for me the real problem in my game is finding the correct documentation for unity and photon networking we're making a multiplayer game.
Anyways back to my question so I want to allow for people to create customizable players that will be their character in the game. So basically my idea was to have a base prefab that contains the necessary scripts that all characters must have and then have extra game objects that I make the child of this other game object and make the transforms sync the way they should to give the appearance that the shirt or whatever is attached to the base character. So basically I'm running into the issue that using photon networking I am only allowed to instantiate prefabs. I cant create a gameobject then instantiate it across the network. So is there a way I can allow for prefabs to be created dynamically then save them somewhere locally so i can instantiate them across the network as I see fit?
Answer by mtdrume · Aug 02, 2015 at 07:39 PM
this should help :)
http://answers.unity3d.com/questions/8633/how-do-i-programmatically-assign-a-gameobject-to-a.html
Your answer
Follow this Question
Related Questions
Check if a player has Network View 0 Answers
Unity Multiplayer - Instantiate prefab 1 Answer
Is There A Way To Save A Whole Prefab? 3 Answers
'NetworkTranformChild' problem 1 Answer
Player Prefab on Lobby Managers? 5 Answers