Search Results for

    Show / Hide Table of Contents

    Class SimpleAnimationPlayer

    This is a Playable used to play Animations from its Animation Clip List using names or indices as parameters.

    Inheritance
    object
    Object
    Component
    Behaviour
    MonoBehaviour
    SimpleAnimationPlayer
    Namespace: TriLibCore.Playables
    Assembly: TriLibCore.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.

    Extension Methods

    IObjectExtensions.TryToDispose<T>(object)
    In this article
    Back to top TriLib documentation