ProjectSelectionUI
public sealed class ProjectSelectionUI : PopupWindowContentNo description is available for this type.
Methods
Section titled “Methods”
Init(Action)
Section titled “Init(Action)”public void Init(Action<AssetInfo> onSelection = null)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
onSelection |
System.Action{AssetInventory.AssetInfo} | |
GetWindowSize()
Section titled “GetWindowSize()”public override Vector2 GetWindowSize()The size of the popup window.
Returns
UnityEngine.Vector2 —
The size of the Popup window.
SetAssets(List)
Section titled “SetAssets(List)”public void SetAssets(List<AssetInfo> infos)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
infos |
System.Collections.Generic.List{AssetInventory.AssetInfo} | |
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. |