Corgi Engine  v9.2
MoreMountains.Tools.MMAnimationParameter Class Reference

A helper class that will hash a animation parameter and update it on demand More...

Inheritance diagram for MoreMountains.Tools.MMAnimationParameter:

Public Member Functions

virtual void SetTrigger ()
 Sets the trigger of the specified name More...
 
virtual void SetInt (int value)
 Sets the int of the specified name to the specified value More...
 
virtual void SetFloat (float value)
 Sets the float of the specified name to the specified value More...
 
virtual void SetBool (bool value)
 Sets the bool of the specified name to the specified value More...
 

Public Attributes

string ParameterName
 the name of the animation parameter to hash More...
 
Animator TargetAnimator
 the animator to update More...
 

Protected Member Functions

virtual void Awake ()
 On awake we initialize our class More...
 
virtual void Initialization ()
 Hashes the parameter name into an int More...
 

Protected Attributes

int _parameter
 

Detailed Description

A helper class that will hash a animation parameter and update it on demand

Member Function Documentation

◆ Awake()

virtual void MoreMountains.Tools.MMAnimationParameter.Awake ( )
protectedvirtual

On awake we initialize our class

◆ Initialization()

virtual void MoreMountains.Tools.MMAnimationParameter.Initialization ( )
protectedvirtual

Hashes the parameter name into an int

◆ SetBool()

virtual void MoreMountains.Tools.MMAnimationParameter.SetBool ( bool  value)
virtual

Sets the bool of the specified name to the specified value

◆ SetFloat()

virtual void MoreMountains.Tools.MMAnimationParameter.SetFloat ( float  value)
virtual

Sets the float of the specified name to the specified value

◆ SetInt()

virtual void MoreMountains.Tools.MMAnimationParameter.SetInt ( int  value)
virtual

Sets the int of the specified name to the specified value

◆ SetTrigger()

virtual void MoreMountains.Tools.MMAnimationParameter.SetTrigger ( )
virtual

Sets the trigger of the specified name

Member Data Documentation

◆ _parameter

int MoreMountains.Tools.MMAnimationParameter._parameter
protected

◆ ParameterName

string MoreMountains.Tools.MMAnimationParameter.ParameterName

the name of the animation parameter to hash

◆ TargetAnimator

Animator MoreMountains.Tools.MMAnimationParameter.TargetAnimator

the animator to update


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