Selectable to select on down.
#pragma strict // Required when Using UI elements. public class SelectedCheck { public var btnSave; public var btnLoad; public function Start() { //makes the Load button selectable if the down arrow key is pressed btnSave.navigation.selectOnDown = btnLoad; } }
using UnityEngine; using System.Collections; using UnityEngine.UI; // Required when Using UI elements.
public class SelectedCheck : MonoBehaviour { public Button btnSave; public Button btnLoad;
public void Start() { //makes the Load button selectable if the down arrow key is pressed btnSave.navigation.selectOnDown = btnLoad; } }