Class VFXDatabase
Allows you to define a list of VFX prefabs each with a name. An editor script takes care of generating a C# file containing an enum with the given name to index the Entries array. This allows you to call methods such as VFXManager.GetVFX(VFXType.MyEffectName). See the VFXManager class for more details.
Inheritance
System.Object
UnityEngine.Object
UnityEngine.ScriptableObject
VFXDatabase
Namespace: CreatorKitCode
Assembly: Assembly-CSharp.dll
Syntax
public class VFXDatabase : ScriptableObject
Fields
Entries
Declaration
public VFXDatabase.VFXDBEntry[] Entries
Field Value
Type | Description |
---|---|
VFXDatabase.VFXDBEntry[] |