Merge branch 'agents/wall-jump-logic-optimization'
# Conflicts: # Assets/_Game/Scripts/Player/PlayerMovement.cs # Assets/_Game/Scripts/Player/States/IdleState.cs # Assets/_Game/Scripts/Player/States/RunState.cs # Assets/_Game/Scripts/Player/States/WallJumpState.cs # Assets/_Game/Scripts/Player/States/WallSlideState.cs
This commit is contained in:
@@ -58,6 +58,9 @@ namespace BaseGames.Player.States
|
||||
if (AnimCfg?.WallSlide != null)
|
||||
Anim?.Play(AnimCfg.WallSlide);
|
||||
|
||||
// 消耗蹬墙跳后的自动抓墙标记
|
||||
Owner.SetPostWallJump(false);
|
||||
|
||||
Input.JumpStartedEvent += OnJumpPressed;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user