Table of Contents

Class MouthAnimatorBase

Namespace
Gasimo.FaceToon.Mouth
Assembly
Gasimo.FaceToon.Mouth.dll

Base class for mouth animators. Contains methods to set the sprite index and the mouth collection.

public abstract class MouthAnimatorBase : MonoBehaviour
Inheritance
Object
Component
Behaviour
MonoBehaviour
MouthAnimatorBase
Derived

Fields

currentIndex

The current index of the frame to be displayed

protected int currentIndex

Field Value

int

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