Ejemplo n.º 1
0
 /**
  *  @param onGroundState 땅위에서 애니메이션 상태
  *  @param offGroundState 공중에서 애니메이션 상태
  *  @param onClimbing 벽타기 중 애니메이션 상태
  *  @param playerAction 플레이어만이 행동 애니메이션 상태
  */
 public virtual void NotifyState(OnGround onGroundState, OffGround offGroundState, OnClimbing onClimbing, PlayerAction playerAction)
 {
     _onGroundState  = onGroundState;
     _offGroundState = offGroundState;
     _onClimbing     = onClimbing;
     _playerAction   = playerAction;
     HandleAnim();
 }
Ejemplo n.º 2
0
 public override void NotifyState(OnGround onGroundState, OffGround offGroundState)
 {
     base.NotifyState(onGroundState, offGroundState);
     _onClimbing   = PlayerState.OnClimbing.NONE;
     _playerAction = PlayerState.PlayerAction.NONE;
 }