C# Класс KEngine.Editor.SettingModuleEditor

Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
AutoGenerateCode bool
CompileSettingConditionVars string[]
CustomCompileSettings System.Action
CustomExtraString CustomExtraStringDelegate
GenerateCodeFilesFilter string[]

Private Properties

Свойство Тип Описание
CompileSettings void
QuickCompileSettings void
SettingModuleEditor System

Открытые методы

Метод Описание
DoCompileSettings ( bool force = true, string forceTemplate = null, bool canCustom = true ) : void

Приватные методы

Метод Описание
CompileSettings ( ) : void
QuickCompileSettings ( ) : void
SettingModuleEditor ( ) : System

Описание методов

DoCompileSettings() публичный статический Метод

public static DoCompileSettings ( bool force = true, string forceTemplate = null, bool canCustom = true ) : void
force bool Whether or not,check diff. false will be faster!
forceTemplate string
canCustom bool
Результат void

Описание свойств

AutoGenerateCode публичное статическое свойство

是否自动在编译配置表时生成静态代码,如果不需要,外部设置false
public static bool AutoGenerateCode
Результат bool

CompileSettingConditionVars публичное статическое свойство

条件编译变量
public static string[] CompileSettingConditionVars
Результат string[]

CustomCompileSettings публичное статическое свойство

Custom the monitor trigger compile settings behaviour
public static Action,System CustomCompileSettings
Результат System.Action

CustomExtraString публичное статическое свойство

可以为模板提供额外生成代码块!返回string即可! 自定义[InitializeOnLoad]的类并设置这个委托
public static CustomExtraStringDelegate CustomExtraString
Результат CustomExtraStringDelegate

GenerateCodeFilesFilter публичное статическое свойство

当生成的类名,包含数组中字符时,不生成代码
public static string[] GenerateCodeFilesFilter
Результат string[]