Class WaveAnimation
- Namespace
- TMPEffects.TMPAnimations.Animations
- Assembly
- TMPEffects.dll
[CreateAssetMenu(fileName = "new WaveAnimation", menuName = "TMPEffects/Animations/Wave")]
public class WaveAnimation : TMPAnimation, ITMPAnimation, INotifyObjectChanged
- Inheritance
-
ObjectScriptableObjectWaveAnimation
- 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.nameObject.hideFlags
Methods
Animate(CharData, IAnimationContext)
Animate the given character.
public override void Animate(CharData cData, IAnimationContext context)
Parameters
cData
CharDataData about the character.
context
IAnimationContextData 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
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 override bool ValidateParameters(IDictionary<string, string> parameters)
Parameters
parameters
IDictionary<string, string>
Returns
- bool
true if the parameters were successfully validated; false otherwise.