Feel 5.9
The best way to improve your game's feel and make it extra juicy
Loading...
Searching...
No Matches
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
Animator NoFeedbackAnimator
 the animator of the 'no feedback' version
Animator FeedbackAnimator
 the animator of the 'feedback' version

Protected Member Functions

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

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:
  • H:/Code/MoreMountains/feel/Assets/Feel/FeelDemos/Bounce/Scripts/BounceManager.cs