Click or drag to resize

GObjectSetSize Method (Single, Single, Boolean)

Change size.

Namespace:  FairyGUI
Assembly:  FairyGUI (in FairyGUI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public void SetSize(
	float wv,
	float hv,
	bool ignorePivot
)

Parameters

wv
Type: SystemSingle
Width value.
hv
Type: SystemSingle
Height value.
ignorePivot
Type: SystemBoolean
If pivot is set, the object's positon will change when its size change. Set ignorePivot=true to keep the position.
See Also