Class vGear_UIDropDownItem
Unity UI Drop Down item interaction control.
Unity UI 下拉式菜單物件的互動控制。
Inheritance
System.Object
UnityEngine.Object
UnityEngine.Component
UnityEngine.Behaviour
UnityEngine.MonoBehaviour
vGear_UIDropDownItem
Namespace: Votanic.vXR.vGear
Assembly: Votanic.vXR.dll
Syntax
public class vGear_UIDropDownItem : MonoBehaviour
Fields
area
Active interaction area RectTransform.
有效互動面積 RectTransform。
Declaration
[Tooltip("Active interaction area RectTransform.\n有效互動面積 RectTransform。")]
[Header("[Components]")]
public RectTransform area
Field Value
Type | Description |
---|---|
UnityEngine.RectTransform |
boxCollider
BoxCollider component.
BoxCollider 組件。
Declaration
[Tooltip("BoxCollider component.\nBoxCollider 組件。")]
public BoxCollider boxCollider
Field Value
Type | Description |
---|---|
UnityEngine.BoxCollider |
interactables
Interactables component.
交互物組件。
Declaration
[Tooltip("Interactables component.\n交互物組件。")]
public vGear_Interactables interactables
Field Value
Type | Description |
---|---|
vGear_Interactables |
item
RectTransform component.
RectTransform 組件。
Declaration
[Tooltip("RectTransform component.\nRectTransform 組件。")]
public RectTransform item
Field Value
Type | Description |
---|---|
UnityEngine.RectTransform |
size
Size of item.
物品大小。
Declaration
[Tooltip("Size of item.\n 物品大小。")]
public Vector2 size
Field Value
Type | Description |
---|---|
UnityEngine.Vector2 |