All Classes Namespaces Functions Variables Enumerations Properties Pages
Public Attributes | List of all members
InteractionObject.AnimatorEvent Class Reference

Calls an animation on an interaction event. More...

Public Attributes

Animator animator
 The Animator component that will receive the AnimatorEvents. More...
 
Animation animation
 The Animation component that will receive the AnimatorEvents (Legacy). More...
 
string animationState
 The name of the animation state. More...
 
float crossfadeTime = 0.3f
 The crossfading time. More...
 
int layer
 The layer of the animation state (if using Legacy, the animation state will be forced to this layer). More...
 
bool resetNormalizedTime
 Should the animation always start from 0 normalized time? More...
 

Detailed Description

Calls an animation on an interaction event.