Hi, im trying to spawn GameObects in my multiplayer game, but i get this error in console:
![[IMG]]()
this is my code:
Spawn GameObjects in a Network
![[IMG]](http://puu.sh/k7NME/71c5d763af.png)
this is my code:
Code (CSharp):
- using UnityEngine;
- using System.Collections;
- using UnityEngine.Networking;
- public class Spawn : NetworkBehaviour {
- public GameObject melee;
- float timerWave;
- float timerCreep;
- public float timeBetweenCreep;
- public float timeBetweenWave;
- public int waveSize;
- int j=0;...