Feel  3.16
The best way to improve your game's feel and make it extra juicy
MoreMountains.Feel.BounceManager Class Reference

An example class part of the Feel demos This class acts as a character controller for the Duck in the FeelDuck demo scene It looks for input, and jumps when instructed to More...

Inheritance diagram for MoreMountains.Feel.BounceManager:

Public Attributes

float CooldownDuration = 1f
 a duration, in seconds, between two jumps, during which jumps are prevented More...
 
Animator NoFeedbackAnimator
 the animator of the 'no feedback' version
More...
 
Animator FeedbackAnimator
 the animator of the 'feedback' version
More...
 

Protected Member Functions

virtual void Update ()
 On Update we look for input More...
 
virtual void HandleInput ()
 Detects input More...
 
virtual void Jump ()
 Performs a jump if possible, otherwise plays a denied feedback More...
 

Protected Attributes

float _lastJumpStartedAt = -100f
 

Detailed Description

An example class part of the Feel demos This class acts as a character controller for the Duck in the FeelDuck demo scene It looks for input, and jumps when instructed to

Member Function Documentation

◆ HandleInput()

virtual void MoreMountains.Feel.BounceManager.HandleInput ( )
protectedvirtual

Detects input

◆ Jump()

virtual void MoreMountains.Feel.BounceManager.Jump ( )
protectedvirtual

Performs a jump if possible, otherwise plays a denied feedback

◆ Update()

virtual void MoreMountains.Feel.BounceManager.Update ( )
protectedvirtual

On Update we look for input

Member Data Documentation

◆ _lastJumpStartedAt

float MoreMountains.Feel.BounceManager._lastJumpStartedAt = -100f
protected

◆ CooldownDuration

float MoreMountains.Feel.BounceManager.CooldownDuration = 1f

a duration, in seconds, between two jumps, during which jumps are prevented

◆ FeedbackAnimator

Animator MoreMountains.Feel.BounceManager.FeedbackAnimator

the animator of the 'feedback' version

◆ NoFeedbackAnimator

Animator MoreMountains.Feel.BounceManager.NoFeedbackAnimator

the animator of the 'no feedback' version


The documentation for this class was generated from the following file: