文档

Unity Engine

Unity Engine

flags

Flags to control the assembly build.
阅读时间1 分钟最后更新于 1 个月前

Definition

警告
Deprecated. This feature is being deprecated and will be removed in the future. Similar functionality can be achieved using the Roslyn compiler
public AssemblyBuilderFlags flags { get; set; }

Remarks

Set this property to AssemblyBuilderFlags.EditorAssembly to build an assembly with editor assembly references and #define directives.
Set this property to AssemblyBuilderFlags.DevelopmentBuild to build an assembly with development assembly #define directives.
Additional Resources: AssemblyBuilderFlags.