hi
This commit is contained in:
parent
6a910bd0d6
commit
fba3f60354
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user