Provides categorization features for tags related resources.
- See also
- TagsDatabaseUtils, TagsDatabase, Tag
|
static Action | CategorizationLogsUpdated |
| Occurs when the CategorizationProcessLog value has been updated.
|
|
static Action | CategorizationFinished |
| Occurs when categorization process is finished.
|
|
◆ CategorizeCacheableAssets< AssetType, TagsSourceType >()
static void Doloro.DataManagement.DynamicResources.Modules.TagsTool.CategorizedTagsDatabase.CategorizeCacheableAssets< AssetType, TagsSourceType > |
( |
| ) |
|
|
static |
Scanning DynamicResource instances and sorting it among the Tag related collections.
- Template Parameters
-
AssetType | Type of the base asset.
GameObject for prefabs.
- custom for your own scriptable objects.
|
TagsSourceType | The type of the ITagsCollection component in case of a GameObject. |
- Exceptions
-
Works only for tags with enabled Tag.IsCached. Using TagsDatabaseUtils.MergedDatabase as tags source.
- Type Constraints
-
AssetType | : | UnityEngine.Object | |
TagsSourceType | : | UnityEngine.Object | |
TagsSourceType | : | ITagsCollection | |
◆ CategorizeCacheablePrefabAssets< TagsProviderComponentType >()
static void Doloro.DataManagement.DynamicResources.Modules.TagsTool.CategorizedTagsDatabase.CategorizeCacheablePrefabAssets< TagsProviderComponentType > |
( |
| ) |
|
|
static |
Categorizing all the found prefabs with components inherited from the TagsSourceType abstract class.
- Template Parameters
-
TagsProviderComponentType | The type of the ITagsCollection component in case of a GameObject. |
- Type Constraints
-
TagsProviderComponentType | : | UnityEngine.Object | |
TagsProviderComponentType | : | ITagsCollection | |
TagsProviderComponentType | : | CategorizeCacheableAssets | |
TagsProviderComponentType | : | GameObject | |
TagsProviderComponentType | : | TagsProviderComponentType | |
◆ GetResources() [1/3]
static ICollection< UnityEngine.Object > Doloro.DataManagement.DynamicResources.Modules.TagsTool.CategorizedTagsDatabase.GetResources |
( |
params Tag[] |
tags | ) |
|
|
static |
Looks for resources with following tags among cached.
- Parameters
-
tags | Tags that must be defined for the resource. |
- Returns
- Collection of resources with requested tags.
◆ GetResources() [2/3]
static ICollection< UnityEngine.Object > Doloro.DataManagement.DynamicResources.Modules.TagsTool.CategorizedTagsDatabase.GetResources |
( |
string |
tagKey | ) |
|
|
static |
Looking for loaded resources with the tag.
- Parameters
-
- Returns
- Resources collection in case if registered.
- See also
- Tag.IsCached
Entire objects in the collection implements ITagsCollection interface.
◆ GetResources() [3/3]
static ICollection< UnityEngine.Object > Doloro.DataManagement.DynamicResources.Modules.TagsTool.CategorizedTagsDatabase.GetResources |
( |
this Tag |
tag | ) |
|
|
static |
Looking for loaded resources with the tag.
- Parameters
-
- Returns
- Resources collection in case if registered.
- See also
- Tag.IsCached
Entire objects in the collection implements ITagsCollection interface.
◆ GetTags()
static string[] Doloro.DataManagement.DynamicResources.Modules.TagsTool.CategorizedTagsDatabase.GetTags |
( |
| ) |
|
|
static |
Returns collection of tags with hashed resources.
- Returns
- Collection of tags.
◆ IsTagCategorized() [1/2]
static bool Doloro.DataManagement.DynamicResources.Modules.TagsTool.CategorizedTagsDatabase.IsTagCategorized |
( |
string |
tagKey | ) |
|
|
static |
Checking is the tag has hashed resources collection.
- Parameters
-
- Returns
- Result of existence of hashed resources.
- See also
- Tag.IsCached
◆ IsTagCategorized() [2/2]
static bool Doloro.DataManagement.DynamicResources.Modules.TagsTool.CategorizedTagsDatabase.IsTagCategorized |
( |
this Tag |
tag | ) |
|
|
static |
Checking is the tag has hashed resources collection.
- Parameters
-
- Returns
- Result of existence of hashed resources.
- See also
- Tag.IsCached
The documentation for this class was generated from the following file:
- D:/Work/GitHub/DGDK22/Assets/Tauri Interactive/Doloro-GDK/Doloro-Data-Management/Runtime/Dynamic Resource Tools/Modules/Tags Tool/API/CategorizedTagsDatabase.cs