Ejemplo n.º 1
0
 void OnTriggerExit2D(Collider2D other)
 {
     if (other.CompareTag("interObject"))
     {
         if (other.gameObject == currentInterObj)
         {
             currentInterObj = null;
             currentInterObjScript.GenericLeave();
         }
     }
 }