C# Class KEngine.Editor.KUGUIBuilder

Inheritance: KBuild_Base
Mostrar archivo Open project: mr-kelly/KEngine Class Usage Examples

Public Properties

Property Type Description
AutoUIPrefab bool

Public Methods

Method Description
Export ( string path ) : void
GetBuildRelPath ( string uiName ) : string
GetDirectory ( ) : string
GetExtention ( ) : string

Private Methods

Method Description
CreateNewUI ( ) : void
ExportCurrentUI ( ) : void
GetUIWIndoeAssetsFromCurrentScene ( ) : KEngine.UI.UIWindowAsset[]
KUGUIBuilder ( ) : System.IO
OnBeforeBuildPlayerEvent ( ) : void
OnSaveScene ( ) : void
OnWillPlayEvent ( ) : void
UISceneToPrefabs ( ) : void

Method Details

Export() public method

public Export ( string path ) : void
path string
return void

GetBuildRelPath() public static method

public static GetBuildRelPath ( string uiName ) : string
uiName string
return string

GetDirectory() public method

public GetDirectory ( ) : string
return string

GetExtention() public method

public GetExtention ( ) : string
return string

Property Details

AutoUIPrefab public_oe static_oe property

是否在保存场景的时候,自动判断场景中是否有UI对象,自动导出Prefab? 如果嫌弃保存自动导出,卡顿明显,可以设置这里为false,手动从菜单执行
public static bool AutoUIPrefab
return bool