C# Class KEngine.Editor.SettingModuleEditor

ファイルを表示 Open project: mr-kelly/KEngine

Public Properties

Property Type Description
AutoGenerateCode bool
CompileSettingConditionVars string[]
CustomCompileSettings System.Action
CustomExtraString CustomExtraStringDelegate
GenerateCodeFilesFilter string[]

Private Properties

Property Type Description
CompileSettings void
QuickCompileSettings void
SettingModuleEditor System

Public Methods

Method Description
DoCompileSettings ( bool force = true, string forceTemplate = null, bool canCustom = true ) : void

Private Methods

Method Description
CompileSettings ( ) : void
QuickCompileSettings ( ) : void
SettingModuleEditor ( ) : System

Method Details

DoCompileSettings() public static method

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
return void

Property Details

AutoGenerateCode public_oe static_oe property

是否自动在编译配置表时生成静态代码,如果不需要,外部设置false
public static bool AutoGenerateCode
return bool

CompileSettingConditionVars public_oe static_oe property

条件编译变量
public static string[] CompileSettingConditionVars
return string[]

CustomCompileSettings public_oe static_oe property

Custom the monitor trigger compile settings behaviour
public static Action,System CustomCompileSettings
return System.Action

CustomExtraString public_oe static_oe property

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

GenerateCodeFilesFilter public_oe static_oe property

当生成的类名,包含数组中字符时,不生成代码
public static string[] GenerateCodeFilesFilter
return string[]