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