dash
This commit is contained in:
@@ -563,9 +563,9 @@ public class PlayerMovement : MonoBehaviour
|
||||
return (Physics2D.OverlapBox(new Vector2(this.transform.position.x, this.transform.position.y - _groundCheckOffset), _groundCheckSize, 0, _groundLayer) && !IsJumping);
|
||||
}
|
||||
|
||||
public void FloatGravity()
|
||||
public void FloatGravity(float grav)
|
||||
{
|
||||
Data.maxFallSpeed = 0.1f;
|
||||
Data.maxFallSpeed = grav;
|
||||
}
|
||||
|
||||
public void EndFloatGravity()
|
||||
|
||||
Reference in New Issue
Block a user