Next: , Up: Interaction.Output   [Contents][Index]


9.2.1 Animator Float Receiver

Component: AnimatorFloatReceiver

This component sets the value of a float in the attached Animator component by receiving the ’Animate’ message with a floating-point argument. To use, add this component to an object with an Animator on itself or one of it’s children. Then, create a ’Float’ variable in the Animator and type the name of that Float into the ’Animator Float’ field above. Finally, send the ’Animate’ message using any message sender, with a floating point parameter that indicates the new value desired for the Float in the Animator.

Message on AnimatorFloatReceiver: Animate (float)

Set a new value for a float in the attached Animator

Argument: The new value desired for the Animator Float

Message on AnimatorFloatReceiver: Animate (float)

Set a new value for a float in the attached Animator

Argument: The new value desired for the Animator Float