Network instantiating without using Resources
Options
Comments
-
You can manually allocate and assign PhotonViews to your instantiated GameObjects, yes. Then you don't have to use the Resources folder but you have to make sure all clients create the same GameObject locally and assign the ViewId accordingly.
Let's say you instantiate something, then you allocate a PhotonView ID for it. Locally, put a photon view on the new game object, assign the ID and send an RPC to the others with that viewID. You basically tell all clients to create the GO the same way.
The documentation in the package has a brief summary of this, too.0