// Start is called before the first frame update void Start() { guards = GameObject.FindObjectsOfType(typeof(Guard)) as Guard[]; tracker = GetComponent <AlarmTracker>(); }
// Start is called before the first frame update void Start() { tracker = FindObjectOfType(typeof(AlarmTracker)) as AlarmTracker; }