Version: 5.3 (switch to 5.4b)
言語English
  • C#
  • JS

スクリプト言語

好きな言語を選択してください。選択した言語でスクリプトコードが表示されます。

Selectable.navigation

マニュアルに切り替える
public UI.Navigation navigation;

説明

この Selectable オブジェクトへの Navigation 設定。

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

public class ExampleClass : MonoBehaviour { public Button button;

void Start () { //Set the navigation to the default value. ("Automatic" is the default value). button.navigation = Navigation.defaultNavigation; } }