// Use this for initialization void Start() { delay=Time.time; // GETTING THE ZONE TRANSFORM zone = this.gameObject.transform; // GETTING THE ROUND CONTROLLER roundController = GameObject.Find("NetworkControlUnits").transform.gameObject.GetComponentInChildren<NetworkRoundController>(); }
protected virtual void Start() { dying=false; startHasRun = true; OnEnable (); GetComponent<log>().EnterLog("Wander"); netwEvents = gameObject.GetComponent<NetworkEvents> (); netwRoundController = GameObject.Find("NetworkControlUnits").GetComponentInChildren<NetworkRoundController>(); }