Method | Description | |
---|---|---|
AddOnChangeListener ( GuiWidget listener ) : void |
Add OnChange event listener.
|
|
GetFontMaterial ( |
Get cached font material.
|
|
GetMaterial ( |
Get cached material for GuiAtlas.
|
|
GetPanel ( |
Get closest parent panel for transform. if not found - new panel will be created at root GameObject.
|
|
IsPointInside ( float x, float y ) : bool |
Is (X,Y) point inside panel clipping range. Will return true if no clipping.
|
|
IsRectInside ( |
Is (min,max) rect inside panel clipping range. Will return true if no clipping.
|
|
RemoveOnChangeListener ( GuiWidget listener ) : void |
Remove OnChange event listener.
|
|
ResetMaterialCache ( ) : void |
Reset materials cache. All dependent widgets should be invalidate manually!
|
|
UpdateVisuals ( ) : void |
Force revalidate internal atlases, fonts and children.
|
Method | Description | |
---|---|---|
InvalidateClipData ( |
||
LateUpdate ( ) : void | ||
OnDisable ( ) : void | ||
OnEnable ( ) : void | ||
RaiseOnChanged ( |
||
UpdateMaterial ( |
public AddOnChangeListener ( GuiWidget listener ) : void | ||
listener | GuiWidget | Listener. |
return | void |
public GetFontMaterial ( |
||
font | Font instance. | |
return |
public GetMaterial ( |
||
atlas | GuiAtlas instance. | |
return |
public static GetPanel ( |
||
obj | Widget. | |
return |
public IsPointInside ( float x, float y ) : bool | ||
x | float | Point X coordinate. |
y | float | Point y coordinate. |
return | bool |
public IsRectInside ( |
||
min | Left bottom corner of rect. | |
max | Right top corner of rect. | |
return | bool |
public RemoveOnChangeListener ( GuiWidget listener ) : void | ||
listener | GuiWidget | Listener. |
return | void |