IconSelectionUI
public sealed class IconSelectionUI : PopupWindowContentNo description is available for this type.
Methods
Section titled “Methods”
Init(Action)
Section titled “Init(Action)”public void Init(Action<string> onIconSelected = null)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
onIconSelected |
System.Action{System.String} | |
GetWindowSize()
Section titled “GetWindowSize()”public override Vector2 GetWindowSize()The size of the popup window.
Returns
UnityEngine.Vector2 —
The size of the Popup window.
OnGUI(Rect)
Section titled “OnGUI(Rect)”public override void OnGUI(Rect rect)Callback for drawing GUI controls for the popup window.
Parameters
| Name | Type | Description |
|---|---|---|
rect |
UnityEngine.Rect | The rectangle to draw the GUI inside. |