Beispiel #1
0
 void OnWaypointArrive(bool immediate)
 {
     if (immediate)
     {
         eventPlayer.SkipPlay(workingLayer, MovementController.animationPackName);
     }
     else
     {
         if (waypoint_endEventPlayerPlay != null)
         {
             waypoint_endEventPlayerPlay.EndPlay("end waypoint ");// + reason);
             waypoint_endEventPlayerPlay = null;
         }
     }
 }