public RCStatics(GameManager gameManager) { if (instance != null) { Debug.LogWarning($"Detected multiple versions of {nameof(RCStatics)}. This should only be created from the GameManager."); } instance = this; this.gameManager = gameManager; AssertReferences(); Debug.Log("got all menu stuff"); }
private void Awake() { statics = new RCStatics(this); Cursor.visible = false; Cursor.lockState = CursorLockMode.Locked; }