wiki.sine.space | sinespace

Scripting/SAnimator

From wiki.sine.space
Revision as of 15:50, 17 January 2017 by Sinewave (Talk | contribs) (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...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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