void OnMouseDown() { if (jumpAvailable) { Debug.Log("PUSHED"); messageShown = false; character.JumpOverride(strength, direction); jumpAvailable = false; lastPush = timer; } }
void OnMouseDown() { if (jumpAvailable) { Debug.Log("PUSHED"); messageShown = false; character.JumpOverride(strength, direction); jumpAvailable = false; lastPush = timer; } }