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

A very simple class used to make a character jump, designed to be used in Feel's Getting Started tutorial Yes the name is different from the one in the tutorial, it's to avoid conflicts if you were to name it exactly the same. More...

Inheritance diagram for MoreMountains.Feel.GettingStartedTutorialHeroReference:

Public Attributes

KeyCode ActionKey = KeyCode.Space
 a key the Player has to press to make our Hero jump More...
 
float JumpForce = 8f
 the force to apply vertically to the Hero's rigidbody to make it jump up More...
 
MMFeedbacks JumpFeedback
 a MMFeedbacks to play when the Hero starts jumping More...
 
MMFeedbacks LandingFeedback
 a MMFeedbacks to play when the Hero lands after a jump More...
 
UnityEvent OnJump
 a UnityEvent to fire when jumping More...
 
UnityEvent OnLand
 a UnityEvent to fire when landing More...
 

Detailed Description

A very simple class used to make a character jump, designed to be used in Feel's Getting Started tutorial Yes the name is different from the one in the tutorial, it's to avoid conflicts if you were to name it exactly the same.

Member Data Documentation

◆ ActionKey

KeyCode MoreMountains.Feel.GettingStartedTutorialHeroReference.ActionKey = KeyCode.Space

a key the Player has to press to make our Hero jump

◆ JumpFeedback

MMFeedbacks MoreMountains.Feel.GettingStartedTutorialHeroReference.JumpFeedback

a MMFeedbacks to play when the Hero starts jumping

◆ JumpForce

float MoreMountains.Feel.GettingStartedTutorialHeroReference.JumpForce = 8f

the force to apply vertically to the Hero's rigidbody to make it jump up

◆ LandingFeedback

MMFeedbacks MoreMountains.Feel.GettingStartedTutorialHeroReference.LandingFeedback

a MMFeedbacks to play when the Hero lands after a jump

◆ OnJump

UnityEvent MoreMountains.Feel.GettingStartedTutorialHeroReference.OnJump

a UnityEvent to fire when jumping

◆ OnLand

UnityEvent MoreMountains.Feel.GettingStartedTutorialHeroReference.OnLand

a UnityEvent to fire when landing


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