void Awake() { waypointManager = GetComponent <WaypointManager> (); mobSpawner = GetComponent <MobSpawner> (); }