新Feedback系统

This commit is contained in:
SoulliesOfficial
2026-04-12 02:11:15 -04:00
parent f26f9fd374
commit 41140a2017
171 changed files with 296190 additions and 219527 deletions

View File

@@ -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()