NLDClient-yudde/ProjectNLD/Assets/Code/Scripts/Gameplay/PlayerSkill/State/PlayerSkillStateIdle.cs

26 lines
551 B
C#

using UnityEngine;
namespace Gameplay.PlayerSkill.State
{
public class PlayerSkillStateIdle : BasePlayerSkillState
{
public PlayerSkillStateIdle() : base(EPlayerSkillState.Idle)
{
}
protected override void _OnRunning()
{
base._OnRunning();
// TODO: 临时逻辑, 用于测试
if (Input.GetKeyDown(KeyCode.Q))
{
isFinished = true;
nextState = EPlayerSkillState.ChoosePos;
}
}
}
}