debug
unknown
csharp
3 years ago
514 B
7
Indexable
void Update()
{
if (Input.anyKey)
{
canRun = true;
}
checkForRun();
checkForJump();
checkForSlide();
checkForCollisions();
AnimationControllers();
// Press 'D' when running and then when character is
// "stuck" to check any difference in these values.
if (Input.GetKeyDown(KeyCode.D))
{
Debug.Log($"QQQ - canRun {canRun} | isSliding {isSliding} | canSlide {canSlide} | isRunning {isRunning} | isGrounded {isGrounded}");
}
}Editor is loading...