Exemplo n.º 1
0
 void OnTriggerExit2D(Collider2D other)
 {
     if (other.gameObject.tag == "Characters")
     {
         isNearCharacter = false;
     }
     if (other.gameObject.name == "Goofy")
     {
         isNearGoofy = false;
     }
     if (other.gameObject.name == "Bus_Stop")
     {
         nearBusStop = false;
         bc.setStopped(false);
     }
 }