Version: 2019.1
public Experimental.UIElements.GraphView.Direction direction ;

説明

最小値(minimum) から最大値(maximum)に至るまでのスライダーの方向。

using UnityEngine;
using System.Collections;
using UnityEngine.UI; // Required when Using UI elements.

public class Example : MonoBehaviour { public Slider mainSlider;

public void Start() { //Changes the direction of the slider. if (mainSlider.direction == Slider.Direction.BottomToTop) { mainSlider.direction = Slider.Direction.TopToBottom; } } }