Table of Contents

Class PaletteAnimation

Namespace
TMPEffects.TMPAnimations.Animations
Assembly
TMPEffects.dll
[CreateAssetMenu(fileName = "new PaletteAnimation", menuName = "TMPEffects/Animations/Palette")]
public class PaletteAnimation : TMPAnimation, ITMPAnimation, INotifyObjectChanged
Inheritance
Object
ScriptableObject
PaletteAnimation
Implements
Inherited Members
ScriptableObject.SetDirty()
ScriptableObject.CreateInstance<T>()
Object.GetInstanceID()
Object.GetHashCode()
Object.Instantiate(Object, Vector3, Quaternion)
Object.Instantiate(Object, Vector3, Quaternion, Transform)
Object.Instantiate(Object)
Object.Instantiate(Object, Transform)
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.Destroy(Object)
Object.DestroyImmediate(Object)
Object.DontDestroyOnLoad(Object)
Object.DestroyObject(Object)
Object.FindObjectsOfType<T>()
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindObjectOfType<T>()
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Object.ToString()
Object.name
Object.hideFlags

Methods

Animate(CharData, IAnimationContext)

Animate the given character.

public override void Animate(CharData cData, IAnimationContext context)

Parameters

cData CharData

Data about the character.

context IAnimationContext

Data about the animator.

GetNewCustomData()

Create and get a new custom data object for this animation.

public override object GetNewCustomData()

Returns

object

The custom data object for this animation.

SetParameters(object, IDictionary<string, string>)

Set the parameters for the animation.

public override void SetParameters(object customData, IDictionary<string, string> parameters)

Parameters

customData object

The custom data for this animation.

parameters IDictionary<string, string>

Parameters as key-value-pairs.

ValidateParameters(IDictionary<string, string>)

Validate the parameters.
Used to validate tags.

public override bool ValidateParameters(IDictionary<string, string> parameters)

Parameters

parameters IDictionary<string, string>

Returns

bool

true if the parameters were successfully validated; false otherwise.