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); }
public ComponentService(GameObjectService gameObjectService, AssetService assetService) { _gameObjectService = gameObjectService; _assetService = assetService; }