Beispiel #1
0
 void OnBoatInMapElement(BoatInMapElementEvent e)
 {
     if (!e.exit)
     {
         LaunchNavigation(e.elementZone.transform.position, e.elementZone.zone, false);
     }
 }
Beispiel #2
0
 void OnBoatInMapElement(BoatInMapElementEvent e)
 {
     if (!e.exit)
     {
         currentStone = e.elementZone.GetComponentInParent <MapElement>();
     }
     else
     {
         currentStone = null;
     }
 }