Synced
AssetEditingModule.CanCreateAsset
Section titled “AssetEditingModule.CanCreateAsset”
- Checks that a creation template and writable destination are available.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Editor.Assets
Declaration
Section titled “Declaration”public bool Inno.Editor.Assets.AssetEditingModule.CanCreateAsset(string directory, string templateId)Parameters
Section titled “Parameters”Parameter directory: The source-relative writable destination directory.
Parameter templateId: The stable identity of a discovered creation template.
Returns
Section titled “Returns”True when the request is accepted; otherwise false.