wiki.sine.space | sinespace

Difference between revisions of "Scripting/SAnimator"

From wiki.sine.space
Jump to: navigation, search
(Created page with "The SAnimator class component interfaces with Unity's Animator component, exposing its functions to scripting. ==Members== {{ScriptFunction|void|SetTrigger|(string name);|Set...")
(No difference)

Revision as of 15:50, 17 January 2017

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