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