Class TMPHideAnimation
- Namespace
- TMPEffects.TMPAnimations
- Assembly
- TMPEffects.dll
Base class for all hide animations.
public abstract class TMPHideAnimation : ScriptableObject, ITMPAnimation, INotifyObjectChanged
- Inheritance
-
ObjectScriptableObjectTMPHideAnimation
- 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.nameObject.hideFlags
Methods
Animate(CharData, IAnimationContext)
Animate the given character.
public abstract void Animate(CharData charData, IAnimationContext context)
Parameters
charData
CharDatacontext
IAnimationContextData 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
objectThe 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