Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Creates a configured script assembly definition for native asset export.

API: engine
Project: Inno.Scripting.Compiler

public Inno.Scripting.Compiler.ScriptAssemblyDefinitionAsset.ScriptAssemblyDefinitionAsset(string assemblyName, Inno.Scripting.Compiler.ScriptAssemblyScope scope, string[]? references = null, string[]? defines = null, bool nullable = true, bool allowUnsafe = false)

Parameter assemblyName: Stable managed assembly name.

Parameter scope: Runtime or Editor API scope.

Parameter references: Referenced script assembly names.

Parameter defines: Preprocessor symbols.

Parameter nullable: Whether nullable reference analysis is enabled.

Parameter allowUnsafe: Whether unsafe source is permitted.

Exception T:System.ArgumentException: Thrown when assemblyName is empty.