Beispiel #1
0
        private void Start()
        {
            GameContext context  = new GameContext();
            Services    services = Services.SharedInstance;

            services.Initialize(context);
            _activeController = new GameSystemsController(context, services);
            _activeController.Initialize();
        }
Beispiel #2
0
        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);
        }