Table of Contents

Class TMPEffectDatabase<T>

Namespace
TMPEffects.Databases
Assembly
TMPEffects.dll

Base class for all databases.

public abstract class TMPEffectDatabase<T> : ScriptableObject, ITMPEffectDatabase<T>, ITMPEffectDatabase, INotifyObjectChanged

Type Parameters

T

The type of effect stored in this database.

Inheritance
Object
ScriptableObject
TMPEffectDatabase<T>
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.name
Object.hideFlags

Methods

ContainsEffect(string)

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

public abstract bool ContainsEffect(string name)

Parameters

name string

The identifier of the effect.

Returns

bool

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

GetEffect(string)

Get the effect associated with the given name.

public abstract T GetEffect(string name)

Parameters

name string

The identifier of the effect.

Returns

T

The effect associated with the given name.

Exceptions

KeyNotFoundException

OnDestroy()

protected virtual void OnDestroy()

OnValidate()

protected virtual void OnValidate()

RaiseDatabaseChanged()

protected void RaiseDatabaseChanged()

Events

ObjectChanged

public event ObjectChangedEventHandler ObjectChanged

Event Type

ObjectChangedEventHandler