Photon Quantum 3.0.0

Public Member Functions | Public Attributes | List of all members
Quantum.Editor.AssetDatabaseUtils.AssetEnumerator Struct Reference

Enumerates assets in the project that match the given search criteria using HierarchyProperty API. Obtained with AssetDatabaseUtils.IterateAssets. More...

Inherits IEnumerator< HierarchyProperty >.

Public Member Functions

 AssetEnumerator (string root, string label, Type type)
 Creates a new instance. More...
 
void Dispose ()
 
bool MoveNext ()
 Updates internal HierarchyProperty. More...
 
void Reset ()
 Throws System.NotImplementedException. More...
 

Public Attributes

HierarchyProperty Current => _hierarchyProperty
 Returns the internernal HierarchyProperty. Most of the time this will be the same instance as returned the last time, so do not cache the result - check its properties intestead. More...
 

Detailed Description

Enumerates assets in the project that match the given search criteria using HierarchyProperty API. Obtained with AssetDatabaseUtils.IterateAssets.

Constructor & Destructor Documentation

◆ AssetEnumerator()

Quantum.Editor.AssetDatabaseUtils.AssetEnumerator.AssetEnumerator ( string  root,
string  label,
Type  type 
)
inline

Creates a new instance.

Member Function Documentation

◆ MoveNext()

bool Quantum.Editor.AssetDatabaseUtils.AssetEnumerator.MoveNext ( )
inline

Updates internal HierarchyProperty.

Returns

◆ Reset()

void Quantum.Editor.AssetDatabaseUtils.AssetEnumerator.Reset ( )
inline

Throws System.NotImplementedException.

Exceptions
NotImplementedException

Member Data Documentation

◆ Current

HierarchyProperty Quantum.Editor.AssetDatabaseUtils.AssetEnumerator.Current => _hierarchyProperty

Returns the internernal HierarchyProperty. Most of the time this will be the same instance as returned the last time, so do not cache the result - check its properties intestead.