Quantcast
Channel: Multiplayer
Viewing all articles
Browse latest Browse all 16796

PhotonNetwork.Instantiate

$
0
0
Im trying to get the enemys to sync on all players screen when they spawn but im coming across an error. I fully understand the error and why it is happening im just not sure how to fix it. I dont like posting my whole script but here it goes

Code (CSharp):
  1. using UnityEngine;
  2. using System.Collections;
  3. public class ZombieSpawn : Photon.MonoBehaviour {
  4.     private float minRepeatRate = 1f;        //Lowest Random Spawn Rate (Keep at 1 for best results)
  5.     private float maxRepeatRate = 1000f;...
PhotonNetwork.Instantiate

Viewing all articles
Browse latest Browse all 16796

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>