Synced
ScriptAssemblyDefinitionAsset.Constructor
Section titled “ScriptAssemblyDefinitionAsset.Constructor”
- Creates a configured script assembly definition for native asset export.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Scripting.Compiler
Declaration
Section titled “Declaration”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)Parameters
Section titled “Parameters”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.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentException: Thrown when assemblyName is empty.