Table of Contents

Class TMPAnimationDatabase

Namespace
TMPEffects.Databases.AnimationDatabase
Assembly
TMPEffects.dll
[CreateAssetMenu(fileName = "new TMPAnimationDatabase", menuName = "TMPEffects/Database/Animation Database", order = 0)]
public class TMPAnimationDatabase : TMPEffectDatabase<ITMPAnimation>, ITMPEffectDatabase<ITMPAnimation>, ITMPEffectDatabase, INotifyObjectChanged
Inheritance
Object
ScriptableObject
TMPAnimationDatabase
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

Properties

BasicAnimationDatabase

The backing TMPBasicAnimationDatabase used.

public TMPBasicAnimationDatabase BasicAnimationDatabase { get; }

Property Value

TMPBasicAnimationDatabase

HideAnimationDatabase

The backing TMPHideAnimationDatabase used.

public TMPHideAnimationDatabase HideAnimationDatabase { get; }

Property Value

TMPHideAnimationDatabase

ShowAnimationDatabase

The backing TMPShowAnimationDatabase used.

public TMPShowAnimationDatabase ShowAnimationDatabase { get; }

Property Value

TMPShowAnimationDatabase

Methods

ContainsEffect(string)

Check whether this database contains an animation associated with the given name.

public override bool ContainsEffect(string name)

Parameters

name string

The identifier of the animation.

Returns

bool

true if this database contains an animation associated with the given name; false otherwise.

ContainsEffect(string, TMPAnimationType)

Check whether this database contains an animation associated with the given name.

public bool ContainsEffect(string name, TMPAnimationType type)

Parameters

name string

The identifier of the animation.

type TMPAnimationType

The type of 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 ITMPAnimation GetEffect(string name)

Parameters

name string

The identifier of the animation.

Returns

ITMPAnimation

The animation associated with the given name.

Exceptions

KeyNotFoundException
InvalidOperationException

GetEffect(string, TMPAnimationType)

Get the animation associated with the given name.

public ITMPAnimation GetEffect(string name, TMPAnimationType type)

Parameters

name string

The identifier of the animation.

type TMPAnimationType

The type of animation.

Returns

ITMPAnimation

The animation associated with the given name.

Exceptions

KeyNotFoundException
InvalidOperationException

OnValidate()

protected override void OnValidate()