Checks that the object has certain signature. (Case insensitive)
- Template Parameters
-
T | Type of signature holder. |
DynamicResourcesDatabase.Find(string, string)
|
override bool | OnResourceFilter (object resource, out UnityEngine.Object filteredResource) |
| Checks the signature of filtering object with requested. More...
|
|
|
OrderOptions | Order [get] |
| Check order handling by the filter.
|
|
string | Bundle [get] |
| Searching bundle key. null or whitespace means local resource bundle.
|
|
string | Key [get] |
| Searching resource key.
|
|
override string | GetStaticSignature [get] |
| Returns key in format: HandlingType.FullName :SingFilter:Bundle|. .Key|ALL More...
|
|
virtual Type | HandlingType [get] |
| Type that will be handled by the query. More...
|
|
bool | IsComponentsHandler [get] |
| Checks is handling type is component-like.
|
|
◆ SignatureFilter() [1/2]
Creates filter that allows only resources from the certain bundle.
- Parameters
-
◆ SignatureFilter() [2/2]
Creates filter that allows only resources with a certain sign.
- Parameters
-
◆ IsResourcePassingFilter() [1/3]
Looking for component with a type defined at the HandlingType property.
Handle it via OnResourceFilter(object, out UnityEngine.Object) if found.
- Parameters
-
resource | Input resource for check. |
filteredResource | Sub-resource that was selected by filter as the target. Will be registered in filter->resource pair in Resource collection. |
- Returns
- Checks is the resource passing the filter. False if check is impossible.
◆ IsResourcePassingFilter() [2/3]
bool Doloro.DataManagement.DynamicResources.Search.IResourceFilter.IsResourcePassingFilter |
( |
UnityEngine.GameObject |
resource, |
|
|
out UnityEngine.Object |
filteredResource |
|
) |
| |
|
inherited |
Passing the resource through the query filter.
- Parameters
-
resource | Comparable resource. |
filteredResource | Sub-resource that was selected by filter as the target. Will be registered in filter->resource pair in Resource collection. |
- Returns
- True if the resource passing query filter.
◆ IsResourcePassingFilter() [3/3]
Checks is the resource is can be casted to the HandlingType and handles it if possible.
- Parameters
-
resource | Input resource for check. |
- Returns
- Parameters
-
filteredResource | Sub-resource that was selected by filter as the target. Will be registered in filter->resource pair in Resource collection. |
Checks is the resource passing the filter. False if check is impossible.
Implements Doloro.DataManagement.DynamicResources.Search.IResourceFilter.
◆ OnResourceFilter()
◆ GetStaticSignature
◆ HandlingType
Type that will be handled by the query.
Could be:
- Inherited from the
UnityEngine.Component
for UnityEngine.GameObject
resources.
- Could be interface or parent class for
UnityEngine.Object
resources.
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/Core/Search/SignatureFilter.cs