open calendar with "c"

This commit is contained in:
j.mei7
2022-02-19 00:14:39 +01:00
parent a3db54a9b9
commit 439eb16d3b
15 changed files with 1236 additions and 123 deletions

View File

@@ -5,7 +5,14 @@ using UnityEngine;
// Handles the player input, such as interactions
public class PlayerController : MonoBehaviour
{
[SerializeField]
GameObject calendar;
void Update()
{
if (Input.GetButtonDown("Calendar") && calendar != null)
{
calendar.SetActive(!calendar.activeSelf);
}
}
}