Summary
Asks the user where they want to save a modified asset, calls `modify` on it, and saves it.
- Assembly
- Animancer
.dll - Namespace
- Animancer
.Editor .Tools - Containing Type
- AnimancerToolsWindow
.Tool
Syntax
public static bool SaveModifiedAsset<T>(string saveTitle, string saveMessage, T obj, Action<T> modify)
where T : Object
Type Parameters
Name | Description |
---|---|
T |
Parameters
Name | Type | Description |
---|---|---|
saveTitle | string | |
saveMessage | string | |
obj | T | |
modify | Action |
Return Value
Type | Description |
---|---|
bool |