public InputGameController(SubscriptionProperty <float> leftMove, SubscriptionProperty <float> rightMove, Car car) { _view = LoadView(); _view.Init(leftMove, rightMove, car.Speed); }
public InputGameController(SubscriptionProperty <float> leftMove, SubscriptionProperty <float> rightMove, Car car) { _view = LoadView <BaseInputView>(_viewPath, null); _view.Init(leftMove, rightMove, car.Speed.Value); }