public void AlertAllEnemies(Vector3 _lastKnownPlayerLocation) { PlayerSpotted?.Invoke(_lastKnownPlayerLocation); }
void Start() { _thisScript = gameObject.GetComponent <PlayerSpotted>(); _parentScript = transform.GetComponentInParent <EnemyWM>(); _saveGame = GameObject.Find("Loader").GetComponent <SaveGame>(); }