quantum-space-buddies/QSB/Instruments/InstrumentsManager.cs

25 lines
521 B
C#
Raw Normal View History

2020-10-27 22:59:19 +00:00
using QSB.Instruments.QSBCamera;
using UnityEngine;
namespace QSB.Instruments
{
public class InstrumentsManager : MonoBehaviour
{
public static InstrumentsManager Instance;
private void Awake()
{
Instance = this;
gameObject.AddComponent<CameraManager>();
}
private void Update()
{
if (Input.GetKeyDown(KeyCode.Keypad9))
{
2020-11-01 11:57:15 +00:00
CameraManager.Instance.ToggleViewMode();
2020-10-27 22:59:19 +00:00
}
}
}
}