Utility methods used by the custom editors to manage assets, namely to save a quest ScriptableObject and all of its sub-ScriptableObjects to an asset file. More...
Static Public Member Functions | |
static Quest | SaveQuestAsAsset (Quest quest, string filePath, bool select=false) |
static Quest | CreateNewQuestAssetFromDialog () |
static void | AddNodeSubassetsToAsset (QuestNode node, Quest quest) |
Assumes quest is an asset. | |
static void | AddSubassetToAsset (QuestSubasset subasset, Quest quest) |
static void | DeleteUnusedSubassets (Quest quest) |
static void | AddSubassetsToList (Quest quest, List< QuestSubasset > subassets) |
Utility methods used by the custom editors to manage assets, namely to save a quest ScriptableObject and all of its sub-ScriptableObjects to an asset file.
|
inlinestatic |
Assumes quest is an asset.
Adds subassets in node (typically a newly copy-pasted node) to the asset.
node | |
quest |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |