Tanoda
TriLibCore.Playables.SimpleAnimationPlayer Class Reference

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

Inheritance diagram for TriLibCore.Playables.SimpleAnimationPlayer:

Public Member Functions

void PlayAnimation (int index)
 Plays the Animation Clip with the given index. More...
 
void PlayAnimation (string name)
 Plays the Animation Clip with the given index. More...
 

Public Attributes

IList< AnimationClip > AnimationClips
 Source animation clips. More...
 

Detailed Description

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

Definition at line 10 of file SimpleAnimationPlayer.cs.

Member Function Documentation

◆ PlayAnimation() [1/2]

void TriLibCore.Playables.SimpleAnimationPlayer.PlayAnimation ( int  index)

Plays the Animation Clip with the given index.

Parameters
indexThe Animation Clip index.

Definition at line 37 of file SimpleAnimationPlayer.cs.

◆ PlayAnimation() [2/2]

void TriLibCore.Playables.SimpleAnimationPlayer.PlayAnimation ( string  name)

Plays the Animation Clip with the given index.

Parameters
nameThe Animation Clip name.

Definition at line 55 of file SimpleAnimationPlayer.cs.

Member Data Documentation

◆ AnimationClips

IList<AnimationClip> TriLibCore.Playables.SimpleAnimationPlayer.AnimationClips

Source animation clips.

Definition at line 15 of file SimpleAnimationPlayer.cs.


The documentation for this class was generated from the following file: