Show / Hide Table of Contents

Class vGear_Panel

The UI Panel objects.
使用者介面面板物件。

Inheritance
System.Object
UnityEngine.Object
UnityEngine.Component
UnityEngine.Behaviour
UnityEngine.MonoBehaviour
vCast_Interactables
vGear_Interactables
vGear_UI
vGear_Panel
Inherited Members
vGear_UI.isTransiting
vGear_UI.isPaused
vGear_UI.graphics
vGear_UI.renderers
vGear_UI.colorField
vGear_UI.originColor
vGear_UI.originAlpha
vGear_UI.originOutline
vGear_UI.transition
vGear_UI.disable
vGear_UI.PauseTransition()
vGear_UI.UnPauseTransition()
vGear_Interactables.networkCommands
vGear_Interactables.interactions
vGear_Interactables.colliderDetection
vGear_Interactables.auxiliarySetting
vGear_Interactables.OnTriggerEnter(Collider)
vGear_Interactables.OnTriggerExit(Collider)
vGear_Interactables.OnCollisionEnter(Collision)
vGear_Interactables.OnCollisionExit(Collision)
vCast_Interactables.interactive
vCast_Interactables.setBuiltInLayer
vCast_Interactables.interactableChild
vCast_Interactables.interaction
vCast_Interactables.climbSetting
vCast_Interactables.grabSetting
vCast_Interactables.customDuration
vCast_Interactables.isGrabbed
vCast_Interactables.isPicked
vCast_Interactables.isSelected
vCast_Interactables.collisionInteractors
vCast_Interactables.grabbables
vCast_Interactables.Start()
vCast_Interactables.LateUpdate()
vCast_Interactables.SetParent(Transform, Vector3, Vector3)
vCast_Interactables.SetParent(Transform)
vCast_Interactables.SetGrabbables(Transform)
vCast_Interactables.Grab()
vCast_Interactables.Ungrab()
vCast_Interactables.Pick()
vCast_Interactables.Drop()
vCast_Interactables.OnDestroy()
Namespace: Votanic.vXR.vGear
Assembly: Votanic.vXR.dll
Syntax
[AddComponentMenu("")]
public class vGear_Panel : vGear_UI

Fields

close

Close state setting.
關閉狀態設定。

Declaration
[Tooltip("Close state setting.\n關閉狀態設定。")]
public UIState close
Field Value
Type Description
UIState

defaultOpen

Open the panel on start if true.
當 true 時在開始時打開面板。

Declaration
[Tooltip("Open the panel on start.\n在開始時打開面板。")]
public bool defaultOpen
Field Value
Type Description
System.Boolean

grabWithButtons

Override child buttons grab setting if true.
當 true 時覆蓋子按鈕原有的抓握設定。

Declaration
[Header("[Panel Settings]")]
[Tooltip("Override child buttons grab setting.\n覆蓋子按鈕原有的抓握設定。")]
public bool grabWithButtons
Field Value
Type Description
System.Boolean

Properties

isOpened

Return true if the panel is opened.
當面板打開時傳回 true。

Declaration
public bool isOpened { get; }
Property Value
Type Description
System.Boolean

Methods

Close()

Close the panel.
關閉面板。

Declaration
public virtual void Close()

Disable()

Disable the panel.
停用面板。

Declaration
public virtual void Disable()

Enable()

Enable the panel.
啟用面板。

Declaration
public virtual void Enable()

Open()

Open the panel.
打開面板。

Declaration
public virtual void Open()

Open(Transform)

Open the panel.
打開面板。

Open(transform)

Declaration
public virtual void Open(Transform transform)
Parameters
Type Name Description
UnityEngine.Transform transform

Target transform
目標 Transform

Open(Vector3, Vector3)

Open the panel.
打開面板。

Open(Vector3.zero, Vector3.zero)

Declaration
public virtual void Open(Vector3 position, Vector3 eulerAngles)
Parameters
Type Name Description
UnityEngine.Vector3 position

Target position
目標位置

UnityEngine.Vector3 eulerAngles

Target euler angles
目標角度

In This Article
Back to top Generated by DocFX