Class MouthAnimatorBase
Base class for mouth animators. Contains methods to set the sprite index and the mouth collection.
public abstract class MouthAnimatorBase : MonoBehaviour
- Inheritance
-
ObjectComponentBehaviourMonoBehaviourMouthAnimatorBase
- Derived
Fields
currentIndex
The current index of the frame to be displayed
protected int currentIndex
Field Value
Methods
SetMouthCollection(FT_FrameCollectionBase)
Sets the mouth collection for this mouth animator
public abstract void SetMouthCollection(FT_FrameCollectionBase collection)
Parameters
collection
FT_FrameCollectionBase
SetSpriteIndex(int)
Sets the frame index to be displayed for this mouth animator
public abstract void SetSpriteIndex(int index)
Parameters
index
int