C# Class KEngine.Editor.KUGUIBuilder

Inheritance: KBuild_Base
Afficher le fichier Open project: mr-kelly/KEngine Class Usage Examples

Méthodes publiques

Свойство Type Description
AutoUIPrefab bool

Méthodes publiques

Méthode Description
Export ( string path ) : void
GetBuildRelPath ( string uiName ) : string
GetDirectory ( ) : string
GetExtention ( ) : string

Private Methods

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

Method Details

Export() public méthode

public Export ( string path ) : void
path string
Résultat void

GetBuildRelPath() public static méthode

public static GetBuildRelPath ( string uiName ) : string
uiName string
Résultat string

GetDirectory() public méthode

public GetDirectory ( ) : string
Résultat string

GetExtention() public méthode

public GetExtention ( ) : string
Résultat string

Property Details

AutoUIPrefab public_oe static_oe property

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