How to handle enemy spawning?
Options
Comments
-
Spawn enemy on master client only (PhotonNetwork.isMasterClient) with PhotonNetwork.InstantiateSceneObject call (to keep enemies in scene after current master left the room)0
-
See, I was thinking that... But nothing was spawning for some reason. I'll try it again, though and see if I wasn't doing anything wrong.. My current setup is this:
I have a RandomSpawn gameobject that will spawn a random enemy at the objects location. I have a scene PhotonView on the random spawner. Should it have a photonview or no?0 -
But nothing was spawning for some reason.
Where do you call it?0