Table of Contents

Class TMPAnimation

Namespace
TMPEffects.TMPAnimations
Assembly
TMPEffects.dll

Base class for animations.

public abstract class TMPAnimation : ScriptableObject, ITMPAnimation, INotifyObjectChanged
Inheritance
Object
ScriptableObject
TMPAnimation
Implements
Derived
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 abstract 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 abstract object GetNewCustomData()

Returns

object

The custom data object for this animation.

OnDestroy()

protected virtual void OnDestroy()

OnValidate()

protected virtual void OnValidate()

RaiseObjectChanged()

protected void RaiseObjectChanged()

SetParameters(object, IDictionary<string, string>)

Set the parameters for the animation.

public abstract 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 abstract bool ValidateParameters(IDictionary<string, string> parameters)

Parameters

parameters IDictionary<string, string>

Returns

bool

true if the parameters were successfully validated; false otherwise.

Events

ObjectChanged

public event ObjectChangedEventHandler ObjectChanged

Event Type

ObjectChangedEventHandler