mirror of
https://gitgud.io/AbstractConcept/rimworld-animation-studio.git
synced 2024-08-15 00:43:27 +00:00
2989d9a72c
- Insert adds a new keyframe to the selected timeline - New stages have frames cloned from the last frame of current stage - Existing key are now replaced when another key is dropped on them - Fixed bug where starting a new animation could result in errors
23 lines
494 B
C#
23 lines
494 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.GetKeybindLabel(command);
|
|
}
|
|
}
|
|
}
|