Doloro GDK 22 .1.0 Beta
by Tauri Interactive
|
Provides utilities for handling tags databases.
Static Public Member Functions | |
static void | DropMergedDatabase () |
Dropping MergedDatabase value to null. | |
static void | Reload () |
Reloading databases. | |
static Tag | FindByKey (string key) |
Looking for the tag among the MergedDatabase. More... | |
static TagsDatabase | CreateNewDataBase (string name, bool addToDetected=false) |
Creating RAM-only instance of the tags database. More... | |
static bool | ContainsKey (this ITagsCollection source, string key) |
Checking is the tag included to the collection. More... | |
Properties | |
static bool | IsLoaded [get] |
True in case if resources already loaded. | |
static bool | IsLoading [get] |
True in case if database currently during loading process. | |
static TagsDatabase | MergedDatabase [get] |
A database with tags merged from DetectedDatabases to a single data structure. More... | |
static TagsDatabase[] | DetectedDatabases [get] |
Array with detected databases. More... | |
Events | |
static Action | DetectedDatabasesChaged |
Occurs when internal processes affecting the DetectedDatabases collection. | |
static Action | Loaded |
Event that occurs when all the resources are loaded. | |
|
static |
Checking is the tag included to the collection.
source | Source collection. |
key | Tag.Key to search. |
|
static |
Creating RAM-only instance of the tags database.
name | Name of the asset. |
addToDetected | If true then database will be registered int the DetectedDatabases collection. |
Features related to the AssetDatabase available only in editor.
In compiled game works the same as CreateNewDataBase(string, bool).
|
static |
Looking for the tag among the MergedDatabase.
key | Tag's key for search. |
TagsDatabaseNotLoadedYetException | Resources still not loaded. |
|
staticget |
Array with detected databases.
TagsDatabaseNotLoadedYetException | Resources still not loaded. |
|
staticget |
A database with tags merged from DetectedDatabases to a single data structure.
TagsDatabaseNotLoadedYetException | Resources still not loaded. |