Exemplo n.º 1
0
 void OnTriggerEnter(Collider other)
 {
     if (other.tag == "Player")
     {
         other.GetComponent <KnightActions>().PickupSword();
         GM.DisableMagicSword(this.gameObject);
     }
 }