Click or drag to resize

WindowAddUISource Method

Set a UISource to this window. It must call before the window is shown. When the window is first time to show, UISource.Load is called. Only after all UISource is loaded, the window will continue to init. 为窗口添加一个源。这个方法建议在构造函数调用。当窗口第一次显示前,UISource的Load方法将被调用,然后只有所有的UISource 都ready后,窗口才会继续初始化和显示。

Namespace:  FairyGUI
Assembly:  FairyGUI (in FairyGUI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public void AddUISource(
	IUISource source
)

Parameters

source
Type: FairyGUIIUISource
See Also