Exemplo n.º 1
0
        public void Awake()
        {
            _updateQueue = new Queue <UpdateStateRequest>();
            var assetReferences = GetComponent <AssetReferences>();

            _assetService         = new AssetService(assetReferences);
            _systemCommandService = new SystemCommandService();
            var objects = GetComponent <SceneObjects>();

            _gameObjectService = new GameObjectService(objects.GameObjects, _assetService);
        }
Exemplo n.º 2
0
 public ComponentService(GameObjectService gameObjectService, AssetService assetService)
 {
     _gameObjectService = gameObjectService;
     _assetService      = assetService;
 }