public void Execute(Player player) { textSS.enabled = false; IdlePlayerState idleState = new IdlePlayerState(); idleState.Enter(player); }
public void Execute(Player player) { if (Physics2D.Raycast(rbPlayer.transform.position, Vector2.down, 0.5f)) { IdlePlayerState idleState = new IdlePlayerState(); idleState.Enter(player); } }
public void Execute(Player player) { IdlePlayerState idleState = new IdlePlayerState(); idleState.Enter(player); }