Пример #1
0
 void OnTriggerEnter2D(Collider2D col)
 {
     if (col.gameObject.name == "Player")
     {
         actionRange = true;
         dataController.AddNPC(this);
     }
 }