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

13 lines
241 B
C#

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