Click or drag to resize

GRootShowPopup Method (GObject, GObject, Object)

Show a popup object along with the specific target object. 显示一个popup。将popup显示在指定对象的上方或者下方。 popup的特点是点击popup对象外的区域,popup对象将自动消失。

Namespace:  FairyGUI
Assembly:  FairyGUI (in FairyGUI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public void ShowPopup(
	GObject popup,
	GObject target,
	Object downward
)

Parameters

popup
Type: FairyGUIGObject
target
Type: FairyGUIGObject
downward
Type: SystemObject
True to display downwards, false to display upwards, null to display automatically.
See Also