Scripting/SAnimator

From sine.space Wiki
Jump to: navigation, search

The SAnimator class component interfaces with Unity's Animator component, exposing its functions to scripting.

Members

SetTrigger

void SetTrigger (string name);

Sets a trigger value for a animator

No example provided yet

SetFloat

void SetFloat (string name, float value);

Sets a float parameter for a animator

No example provided yet

SetInteger

void SetInteger (string name, int value);

Sets a integer parameter for a animator

No example provided yet

SetBool

void SetBool (string name, bool value);

Sets a boolean parameter for a animator

No example provided yet