Class SimpleAnimationPlayer
This is a Playable used to play Animations from its Animation Clip List using names or indices as parameters.
Inherited Members
MonoBehaviour.IsInvoking()
MonoBehaviour.CancelInvoke()
MonoBehaviour.StopCoroutine(Coroutine)
MonoBehaviour.StopAllCoroutines()
MonoBehaviour.useGUILayout
MonoBehaviour.runInEditMode
Behaviour.enabled
Behaviour.isActiveAndEnabled
Component.GetComponent<T>()
Component.TryGetComponent<T>(out T)
Component.GetComponentInChildren<T>()
Component.GetComponentsInChildren<T>()
Component.GetComponentInParent<T>()
Component.GetComponentsInParent<T>()
Component.GetComponents<T>()
Component.transform
Component.gameObject
Component.tag
Object.GetInstanceID()
Object.GetHashCode()
Object.Instantiate(Object, Vector3, Quaternion)
Object.Instantiate(Object, Vector3, Quaternion, Transform)
Object.Instantiate(Object)
Object.Instantiate(Object, Transform)
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.Destroy(Object)
Object.DestroyImmediate(Object)
Object.DontDestroyOnLoad(Object)
Object.DestroyObject(Object)
Object.FindObjectsOfType<T>()
Object.FindObjectOfType<T>()
Object.ToString()
Object.name
Object.hideFlags
Namespace: TriLibCore.Playables
Assembly: Assembly-CSharp.dll
Syntax
public class SimpleAnimationPlayer : MonoBehaviour
Fields
AnimationClips
Source animation clips.
Declaration
public IList<AnimationClip> AnimationClips
Field Value
Type | Description |
---|---|
IList<AnimationClip> |
Methods
PlayAnimation(int)
Plays the Animation Clip with the given index.
Declaration
public void PlayAnimation(int index)
Parameters
Type | Name | Description |
---|---|---|
int | index | The Animation Clip index. |
PlayAnimation(string)
Plays the Animation Clip with the given index.
Declaration
public void PlayAnimation(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | The Animation Clip name. |