Table of Contents

Class TMPCommandDatabase

Namespace
TMPEffects.Databases.CommandDatabase
Assembly
TMPEffects.dll

Stores TMPCommand.

[CreateAssetMenu(fileName = "new TMPCommandDatabase", menuName = "TMPEffects/Database/Command Database", order = 30)]
public class TMPCommandDatabase : TMPEffectDatabase<TMPCommand>, ITMPEffectDatabase<TMPCommand>, ITMPEffectDatabase, INotifyObjectChanged
Inheritance
Object
ScriptableObject
TMPCommandDatabase
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

Methods

ContainsEffect(string)

Check whether this database contains a command associated with the given name.

public override bool ContainsEffect(string name)

Parameters

name string

The identifier of the command.

Returns

bool

true if this database contains a command associated with the given name; false otherwise.

GetEffect(string)

Get the command associated with the given name.

public override TMPCommand GetEffect(string name)

Parameters

name string

The identifier of the command.

Returns

TMPCommand

The command associated with the given name.

Exceptions

KeyNotFoundException
InvalidOperationException