rimworld-animation-studio/Assets/Scripts/GUI/KeybindLabel.cs
AbstractConcept 3d859555ad UI 2.0
2022-10-12 00:22:29 -05:00

23 lines
503 B
C#

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.Instance.GetKeybindLabel(command);
}
}
}