예제 #1
0
 private void StartPullTowards(CharBehaviour puller)
 {
     if (outsideChar.GetState() == CharState.Outside || outsideChar.GetState() == CharState.Dead)
     {
         pullTowardsStarted = true;
         pullTowardTimer.Restart();
     }
 }
예제 #2
0
 public override bool AvailableForChar(CharController charController)
 {
     return(haulUseAction.IsInsideShip && charController.GetState() == CharState.Inside && haulUseAction.IsBeingHauled() && haulUseAction.GetHauler() == charController);
 }
예제 #3
0
 public override bool AvailableForChar(CharController charController)
 {
     return((isInsideShip && charController.GetState() == CharState.Inside) || (!isInsideShip && charController.GetState() == CharState.Outside));
 }
예제 #4
0
 public override bool AvailableForChar(CharController charController)
 {
     return(charController.GetState() == CharState.Inside);
 }