isFalling
This commit is contained in:
parent
1876ef8579
commit
1c3d5538e5
@ -16,6 +16,8 @@ public class PlayerController : MonoBehaviour
|
|||||||
Rigidbody rb;
|
Rigidbody rb;
|
||||||
float moveDirectionY;
|
float moveDirectionY;
|
||||||
public bool isRunning = false;
|
public bool isRunning = false;
|
||||||
|
|
||||||
|
public bool isFalling = false;
|
||||||
[Header("Jump")]
|
[Header("Jump")]
|
||||||
public float jumpSpeed = 7.5f;
|
public float jumpSpeed = 7.5f;
|
||||||
[HideInInspector]
|
[HideInInspector]
|
||||||
|
Loading…
Reference in New Issue
Block a user