rimworld-animation-studio/Assets/Scripts/GUI/KeybindLabel.cs

24 lines
494 B
C#
Raw Normal View History

2022-10-12 05:22:29 +00:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;
using UnityEngine.UI;
namespace RimWorldAnimationStudio
{
public class KeybindLabel : MonoBehaviour
{
public string command;
private Text keybindLabel;
public void Start()
{
keybindLabel = GetComponent<Text>();
keybindLabel.text = KeybindConfig.GetKeybindLabel(command);
2022-10-12 05:22:29 +00:00
}
}
}