quantum-space-buddies/QSB/Instruments/InstrumentsManager.cs
Mister_Nebula 36b877c358 cleanup
2020-11-01 11:57:15 +00:00

25 lines
521 B
C#

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))
{
CameraManager.Instance.ToggleViewMode();
}
}
}
}