CodeSmile AssetDatabase 1.9
Unity's AssetDatabase in enjoyable, consistent, concise, convenient, comprehensible, safe, documented form.
|
Groups all Sub-Asset related functionality. More...
Static Public Member Functions | |
static void | Add ([NotNull] Object subAssetInstance, [NotNull] Object asset) |
Adds an object as sub-asset to the asset. This change is implicitly saved to disk. | |
static Boolean | Extract ([NotNull] Object subAsset, [NotNull] Path destinationPath) |
Extracts a sub-object of an asset as an asset of its own. | |
static Object[] | LoadAll ([NotNull] Path path) |
Loads all sub-asset objects of an asset. | |
static Object[] | LoadVisible ([NotNull] Path path) |
Loads only the visible (representation) sub-asset objects of an asset. | |
static void | Remove ([NotNull] Object subAsset) |
Removes a sub-object from the asset it is contained in. | |
static void | SetMain ([NotNull] Object subAsset, [NotNull] Object asset) |
Sets (changes) an asset's 'main' object to one of its sub-assets. | |
static void | SetMain ([NotNull] Object subAsset, [NotNull] Path path) |
Sets (changes) an asset's 'main' object to one of its sub-assets. | |
Groups all Sub-Asset related functionality.
Definition at line 16 of file Asset.SubAsset.cs.