Utilities for Editor Panels.
More...
|
static T | ConnectToSourceAsset< T > (string adbFilePath, bool createIfMissing=false, bool createFoldersIfMissing=false) |
| Connects to a ScriptableObject asset. If the asset already exists at the given path, loads it and returns it. Otherwise, depending on the given parameters, either returns NULL or automatically creates it before loading and returning it. More...
|
|
Utilities for Editor Panels.
static T DG.DemiEditor.DeEditorPanelUtils.ConnectToSourceAsset< T > |
( |
string |
adbFilePath, |
|
|
bool |
createIfMissing = false , |
|
|
bool |
createFoldersIfMissing = false |
|
) |
| |
|
static |
Connects to a ScriptableObject asset. If the asset already exists at the given path, loads it and returns it. Otherwise, depending on the given parameters, either returns NULL or automatically creates it before loading and returning it.
- Template Parameters
-
- Parameters
-
adbFilePath | File path (relative to Unity's project folder) |
createIfMissing | If TRUE and the requested asset doesn't exist, forces its creation |
createFoldersIfMissing | If TRUE also creates the path folders if they don't exist |
The documentation for this class was generated from the following file:
- D:/DG/_Develop/__UNITY3_CLASSES/_Holoville/__Demigiant.Libraries/_Demigiant.Libraries/Core/DemiEditor/DeEditorPanelUtils.cs