Class vGear_Button
The UI Button objects.
使用者介面按鈕物件。
Inheritance
System.Object
UnityEngine.Object
UnityEngine.Component
UnityEngine.Behaviour
UnityEngine.MonoBehaviour
vGear_Button
Inherited Members
Namespace: Votanic.vXR.vGear
Assembly: Votanic.vXR.dll
Syntax
[AddComponentMenu("")]
public class vGear_Button : vGear_UI
Fields
click
Click state setting.
按下狀態設定。
Declaration
[Tooltip("Click state setting.\n按下狀態設定。")]
public UIState click
Field Value
Type | Description |
---|---|
UIState |
defaultEnable
Enable the button on start if true.
當 true 時在開始時啟用按鈕。
Declaration
[Tooltip("Enable the button on start.\n在開始時啟用按鈕。")]
public bool defaultEnable
Field Value
Type | Description |
---|---|
System.Boolean |
select
Select state setting.
點選狀態設定。
Declaration
[Tooltip("Select state setting.\n點選狀態設定。")]
public UIState select
Field Value
Type | Description |
---|---|
UIState |
Methods
Disable()
Disable the button.
停用按鈕。
Declaration
public virtual void Disable()
Enable()
Enable the button.
啟用按鈕。
Declaration
public virtual void Enable()