CMF.CharacterInput.IsJumpKeyPressed C# (CSharp) Method

IsJumpKeyPressed() public abstract method

public abstract IsJumpKeyPressed ( ) : bool
return bool
        public abstract bool IsJumpKeyPressed();
    }

Usage Example

Beispiel #1
0
        //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());
        }
All Usage Examples Of CMF.CharacterInput::IsJumpKeyPressed