Show / Hide Table of Contents

Class vGear_UIDropDownSlider

Unity UI Drop Down slider interaction control.
Unity UI 下拉式菜單滑動按鈕的互動控制。

Inheritance
System.Object
UnityEngine.Object
UnityEngine.Component
UnityEngine.Behaviour
UnityEngine.MonoBehaviour
vGear_UIDropDownSlider
Namespace: Votanic.vXR.vGear
Assembly: Votanic.vXR.dll
Syntax
public class vGear_UIDropDownSlider : MonoBehaviour

Fields

bar

Bar of silder.
滑動按鈕的欄。

Declaration
[Tooltip("Bar of silder.\n滑動按鈕的欄。")]
[Header("[Components]")]
public Scrollbar bar
Field Value
Type Description
UnityEngine.UI.Scrollbar

down

Bottom of slide range.
滑動範圍的底。

Declaration
[Tooltip("Bottom of slide range.\n滑動範圍的底。")]
public Transform down
Field Value
Type Description
UnityEngine.Transform

edge

Edge of slider.
滑動按鈕的邊。

Declaration
[Tooltip("Edge of slider.\n滑動按鈕的邊。")]
public Transform edge
Field Value
Type Description
UnityEngine.Transform

rect

RectTransform component.
RectTransform 組件。

Declaration
[Tooltip("RectTransform component.\nRectTransform 組件。")]
public Transform rect
Field Value
Type Description
UnityEngine.Transform

size

Size of slider.
滑動按鈕大小。

Declaration
[Tooltip("Size of slider.\n滑動按鈕大小。")]
public float size
Field Value
Type Description
System.Single

top

Top of slide range.
滑動範圍的頂。

Declaration
[Tooltip("Top of slide range.\n滑動範圍的頂。")]
public Transform top
Field Value
Type Description
UnityEngine.Transform

Methods

SetController(vGear_Controller)

Set the controller of slider.
設定滑動按鈕的控制器。

Declaration
public void SetController(vGear_Controller controller)
Parameters
Type Name Description
vGear_Controller controller

Controller
控制器

Slide()

Slide.
滑動。

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