CodeSmile AssetDatabase 1.9
Unity's AssetDatabase in enjoyable, consistent, concise, convenient, comprehensible, safe, documented form.
Loading...
Searching...
No Matches
Asset.Dependency Class Reference

Groups all dependency related functionality. More...

+ Collaboration diagram for Asset.Dependency:

Static Public Member Functions

static String[] GetAll ([NotNull] Path path)
 Returns all (direct and indirect) dependencies of the asset at the given path.
 
static String[] GetAll ([NotNull] Path[] paths)
 Returns all (direct and indirect) dependencies of the assets at the given paths. Returns paths to dependent assets.
 
static String[] GetDirect ([NotNull] Path path)
 Returns the direct dependencies of the asset at the given path.
 
static String[] GetDirect ([NotNull] Path[] paths)
 Returns the direct dependencies of the assets at the given paths.
 
static Hash128 GetHash ([NotNull] Path path)
 Returns the dependency value hash for the asset at path.
 
static Hash128 GetHash (GUID guid)
 Returns the dependency hash for the asset.
 
static void Register ([NotNull] String globalDependencyName, Hash128 dependencyHash)
 Registers a custom dependency to be used in conjunction with a custom AssetImporter.
 
static UInt32 Unregister ([NotNull] String globalDependencyNamePrefix)
 Unregisters one or more custom dependencies with the given prefix (eg 'StartsWith').
 

Detailed Description

Groups all dependency related functionality.

Definition at line 16 of file Asset.Dependency.cs.