isFalling
This commit is contained in:
		@@ -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]
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user