Show / Hide Table of Contents

Class vGear_UI

The abstract class of UI objects.
使用者介面物件的抽象類別。

Inheritance
System.Object
UnityEngine.Object
UnityEngine.Component
UnityEngine.Behaviour
UnityEngine.MonoBehaviour
vCast_Interactables
vGear_Interactables
vGear_UI
vGear_Button
vGear_Panel
Inherited Members
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
public abstract class vGear_UI : vGear_Interactables

Fields

colorField

Shader color field name for materials.
物質的著色器顏色欄名稱。

Declaration
[Header("[Transition]")]
[Tooltip("Shader color field name for materials.\n物質的著色器顏色欄名稱。")]
public string colorField
Field Value
Type Description
System.String

disable

Disable state setting.
停用狀態設定。

Declaration
[Tooltip("Disable state setting.\n停用狀態設定。")]
public UIState disable
Field Value
Type Description
UIState

graphics

The grahpics will participate transitions. All grahpics will be get if list length is 0.
參與過場的圖像。若本身列表長度為 0,將會自動取得所有圖像。

Declaration
[Header("[Transition Components]")]
[Tooltip("The grahpics will participate transitions. All grahpics will be get if list length is 0.\n參與過場的圖像。若本身列表長度為 0,將會自動取得所有圖像。")]
public List<MaskableGraphic> graphics
Field Value
Type Description
System.Collections.Generic.List<UnityEngine.UI.MaskableGraphic>

isPaused

Retur true if the UI transition is paused.
當使用者介面過場被暫停時傳回 true。

Declaration
[Tooltip("Retur true if the UI transition is paused.\n當使用者介面過場被暫停時傳回 true。")]
public bool isPaused
Field Value
Type Description
System.Boolean

isTransiting

Return true if the UI is transiting.
當使用者介面正在過場時傳回 true。

Declaration
[Header("[Transition Status]")]
[Tooltip("Return true if the UI is transiting.\n當使用者介面正在過場時傳回 true。")]
public bool isTransiting
Field Value
Type Description
System.Boolean

originAlpha

Original alpha of UI.
使用者介面原先不透明度。

Declaration
[Tooltip("Original alpha of UI.\n使用者介面原先不透明度。")]
public float originAlpha
Field Value
Type Description
System.Single

originColor

Original color of UI.
使用者介面原先顏色。

Declaration
[Tooltip("Original color of UI.\n使用者介面原先顏色。")]
public Color originColor
Field Value
Type Description
UnityEngine.Color

originOutline

Original outline of UI.
使用者介面原先輪廓。

Declaration
[Tooltip("Original outline of UI.\n使用者介面原先輪廓。")]
public Outline originOutline
Field Value
Type Description
Outline

renderers

The renderers will participate transitions. All renderers will be get if list length is 0.
參與過場的渲染器。若本身列表長度為 0,將會自動取得所有渲染器。

Declaration
[Tooltip("The renderers will participate transitions. All renderers will be get if list length is 0.\n參與過場的渲染器。若本身列表長度為 0,將會自動取得所有渲染器。")]
public List<Renderer> renderers
Field Value
Type Description
System.Collections.Generic.List<UnityEngine.Renderer>

transition

Transition setting.
過場設定。

Declaration
[Tooltip("Transition setting.\n過場設定。")]
public Fader transition
Field Value
Type Description
Fader

Methods

PauseTransition()

Pause the transition.
暫停過場。

Declaration
public void PauseTransition()

UnPauseTransition()

UnPause the transition.
繼續過場。

Declaration
public void UnPauseTransition()
In This Article
Back to top Generated by DocFX