Class TMP_SpriteAnimator
Inherited Members
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: TMPro
Assembly: Unity.TextMeshPro.dll
Syntax
[DisallowMultipleComponent]
public class TMP_SpriteAnimator : MonoBehaviour
Methods
DoSpriteAnimation(int, TMP_SpriteAsset, int, int, int)
Declaration
public void DoSpriteAnimation(int currentCharacter, TMP_SpriteAsset spriteAsset, int start, int end, int framerate)
Parameters
Type | Name | Description |
---|---|---|
int | currentCharacter | |
TMP_SpriteAsset | spriteAsset | |
int | start | |
int | end | |
int | framerate |
StopAllAnimations()
Declaration
public void StopAllAnimations()