revival/game/Assets/Scripts/UI/Preselect.cs

13 lines
241 B
C#
Raw Permalink Normal View History

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Preselect : MonoBehaviour
{
public void OnEnable()
{
GetComponent<Selectable>().Select();
}
}