Loading...
Searching...
No Matches
PixelCrushers.UIAnimatorMonitor Class Reference

Invokes a callback method when an animator has entered and then exited a specified trigger state. More...

Public Member Functions

 UIAnimatorMonitor (GameObject target)
 
 UIAnimatorMonitor (MonoBehaviour target)
 
void SetTrigger (string triggerName, System.Action callback, bool wait=true)
 
void CancelCurrentAnimation ()
 

Static Public Attributes

static float MaxWaitDuration = 10
 

Properties

string currentTrigger [get]
 

Detailed Description

Invokes a callback method when an animator has entered and then exited a specified trigger state.

Constructor & Destructor Documentation

◆ UIAnimatorMonitor() [1/2]

PixelCrushers.UIAnimatorMonitor.UIAnimatorMonitor ( GameObject  target)
inline

◆ UIAnimatorMonitor() [2/2]

PixelCrushers.UIAnimatorMonitor.UIAnimatorMonitor ( MonoBehaviour  target)
inline

Member Function Documentation

◆ CancelCurrentAnimation()

void PixelCrushers.UIAnimatorMonitor.CancelCurrentAnimation ( )
inline

◆ SetTrigger()

void PixelCrushers.UIAnimatorMonitor.SetTrigger ( string  triggerName,
System::Action  callback,
bool  wait = true 
)
inline

Member Data Documentation

◆ MaxWaitDuration

float PixelCrushers.UIAnimatorMonitor.MaxWaitDuration = 10
static

Property Documentation

◆ currentTrigger

string PixelCrushers.UIAnimatorMonitor.currentTrigger
get

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