新Feedback系统
This commit is contained in:
@@ -24,8 +24,24 @@ namespace Cielonos.MainGame.Characters
|
||||
{
|
||||
base.Initialize();
|
||||
upperBodyFuncAnimSm = new FunctionalAnimationSubmodule(this, "UpperBodyAction");
|
||||
player.operationSc.OnDash += (inputDirection, length) => SetupDash(inputDirection, true, length);
|
||||
player.operationSc.OnDodge += SetupDodge;
|
||||
player.operationSc.OnDash += (inputDirection, length) =>
|
||||
{
|
||||
if (player.statusSm.HasStatus(StatusType.Stun))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
SetupDash(inputDirection, true, length);
|
||||
};
|
||||
player.operationSc.OnDodge += (length)=>
|
||||
{
|
||||
if (player.statusSm.HasStatus(StatusType.Stun))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
SetupDodge(length);
|
||||
};
|
||||
}
|
||||
|
||||
protected override void Update()
|
||||
|
||||
Reference in New Issue
Block a user