示例#1
0
        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");
        }
示例#2
0
 private void Awake()
 {
     statics          = new RCStatics(this);
     Cursor.visible   = false;
     Cursor.lockState = CursorLockMode.Locked;
 }