Class TMPBasicAnimationDatabase
- Namespace
- TMPEffects.Databases.AnimationDatabase
- Assembly
- TMPEffects.dll
Stores TMPAnimation.
[CreateAssetMenu(fileName = "new TMPBasicAnimationDatabase", menuName = "TMPEffects/Database/Basic Animation Database", order = 11)]
public class TMPBasicAnimationDatabase : TMPAnimationDatabaseBase<TMPAnimation>, ITMPEffectDatabase<TMPAnimation>, ITMPEffectDatabase, INotifyObjectChanged
- Inheritance
-
ObjectScriptableObjectTMPBasicAnimationDatabase
- 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
ContainsEffect(string)
Check whether this database contains an animation associated with the given name.
public override bool ContainsEffect(string name)
Parameters
name
stringThe identifier of the animation.
Returns
- bool
true if this database contains an animation associated with the given name; false otherwise.
GetEffect(string)
Get the animation associated with the given name.
public override TMPAnimation GetEffect(string name)
Parameters
name
stringThe identifier of the animation.
Returns
- TMPAnimation
The animation associated with the given name.