This commit is contained in:
allylikesfrogs 2023-05-03 10:03:43 -07:00
parent 6a910bd0d6
commit fba3f60354

View File

@ -5,8 +5,6 @@ using UnityEngine.InputSystem;
public class PlayerBehavior : MonoBehaviour public class PlayerBehavior : MonoBehaviour
{ {
public PlayerData Data;
[Header("Physics:")] [Header("Physics:")]
private float _hInput; private float _hInput;
private Rigidbody2D _rb; private Rigidbody2D _rb;
@ -106,8 +104,6 @@ public class PlayerBehavior : MonoBehaviour
} }
if (!playerController.IsGrounded() && (currentDashTime < maxDashTime)) if (!playerController.IsGrounded() && (currentDashTime < maxDashTime))
{ {
//float speed = dashMult * Data.runMaxSpeed;
Vector2 dashSpeed; Vector2 dashSpeed;
if(forward == 1) if(forward == 1)
{ {