//Returns 'true' if the player presses the jump key;
protected virtual bool IsJumpKeyPressed()
{
//If no character input script is attached to this object, return;
if (characterInput == null)
{
return(false);
}
return(characterInput.IsJumpKeyPressed());
}