private void Start() { GameContext context = new GameContext(); Services services = Services.SharedInstance; services.Initialize(context); _activeController = new GameSystemsController(context, services); _activeController.Initialize(); }
private void Start() { GameContext context = new GameContext(); Services services = Services.SharedInstance; services.Initialize(context); _activeController = new GameSystemsController(context, services); _activeController.Initialize(); context.Inventory = FindObjectOfType <Inventory>(); context.Inventory.gameObject.SetActive(false); }