Duplicate a GameObject that is in the Scene
Options
looking to duplicate a gameobject that I click in game and have it appear on all clients, this is simple in Unity's Monobehaviour:
Instantiate(objectHit);
However when doing PhotonNetwork.Instantiate, it can only take a string. Any way to replicate this method??
Instantiate(objectHit);
However when doing PhotonNetwork.Instantiate, it can only take a string. Any way to replicate this method??
0
Comments
-
Solved using RPC, if anyone knows the better way it would be much appreciated.0