feat: Water shader contact
This commit is contained in:
@@ -16,6 +16,7 @@ public class Player : MonoBehaviour
|
||||
Idle,
|
||||
Moving,
|
||||
Jumping,
|
||||
JumpingDouble,
|
||||
Falling,
|
||||
Dashing,
|
||||
Stunned,
|
||||
@@ -666,7 +667,10 @@ public class Player : MonoBehaviour
|
||||
{
|
||||
if (State.VerticalVelocity > 0)
|
||||
{
|
||||
State.CurrentState = PlayerState.Jumping;
|
||||
if (!_doubleJump)
|
||||
State.CurrentState = PlayerState.Jumping;
|
||||
else
|
||||
State.CurrentState = PlayerState.JumpingDouble;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user