阶段性完成
This commit is contained in:
@@ -123,12 +123,6 @@ namespace Cielonos.MainGame.Characters
|
||||
{
|
||||
if (player.inputSc.JumpPressed)
|
||||
{
|
||||
if (player.inputSc.IsWalking)
|
||||
{
|
||||
Observable.Timer(TimeSpan.FromSeconds(0.16f)).Subscribe(_ =>
|
||||
movementModifier = targetDirection.normalized * 10 * DeltaTime);
|
||||
}
|
||||
|
||||
if (!isJumping && groundDetector.isOnGround)
|
||||
{
|
||||
animator.SetTrigger("Jump");
|
||||
|
||||
Reference in New Issue
Block a user