Class ScriptableData
Base class for every ScriptableData<T>.
Namespace: GGL.DB.Scriptable
Assembly: GGL.dll
Syntax
[HelpURL("https://ggl.yoannhaffner.com/articles/database.html#définition-des-données-par-défaut")]
public abstract class ScriptableData : ScriptableObject
Fields
| Edit this page View SourceMENU_CREATE
Declaration
protected const string MENU_CREATE = "Assets/Create/Database/"
Field Value
Type | Description |
---|---|
string | Contextual menu base path suggested for the item generation. |
id
Declaration
[ReadOnly]
public ulong id
Field Value
Type | Description |
---|---|
ulong | ID of the future data. |
Remarks
It is updated automatically by ScriptableDatabase
Methods
| Edit this page View SourceDeleteFromDB()
Delete itself in scriptable database.
Declaration
public abstract void DeleteFromDB()
UpdateInDB()
Register itself in scriptable database.
Declaration
protected abstract void UpdateInDB()