Beispiel #1
0
 void LostSight(GameObject g)
 {
     ObjectsInSight.Remove(g);
     if (g.tag == "Player")
     {
         enemyMovement.LoseTarget();
     }
     Debug.Log("lost tag: " + g.tag);
 }