Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Creates or replaces a writable project asset source and imports the committed result.

API: engine
Project: Inno.Assets.Pipeline

public static bool Inno.Assets.Pipeline.EditorAssets.Save(Inno.Assets.AssetPath path, Inno.Assets.AssetObject asset)

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.

true when the source was committed and imported successfully.

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.