Synced
EditorAssets.Save
Section titled “EditorAssets.Save”
- Creates or replaces a writable project asset source and imports the committed result.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Assets.Pipeline
Scope: Editor
Declaration
Section titled “Declaration”public static bool InnoEditor.Assets.EditorAssets.Save(InnoEngine.Assets.AssetPath path, InnoEngine.Assets.AssetObject asset)Parameters
Section titled “Parameters”Parameter path: The writable project asset path.
Parameter asset: The complete source value to persist. Saving over an existing source retains that source’s persistent identity.
Returns
Section titled “Returns”true when the source was committed and imported successfully.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentNullException: Thrown when asset is null.
Exception T:System.InvalidOperationException: Thrown when the current execution context is not bound to an authoring asset pipeline.