Пример #1
0
 public static int GetTotalRotationCount(this IRotatorPresenter presenter)
 {
     return(presenter.RotatorUseCase.TotalCount);
 }
Пример #2
0
 public static void UpdateRotator(this IRotatorPresenter presenter, Vector3 position, Vector3 centerPosition)
 {
     presenter.RotatorUseCase.OnPressing(position, centerPosition);
 }
Пример #3
0
 public static IObservable <int> GetRotationCountAsObservable(this IRotatorPresenter presenter)
 {
     return(presenter.RotatorUseCase.RotationCountAsObservable);
 }
Пример #4
0
 public static void StartRotator(this IRotatorPresenter presenter, Vector3 position, Vector3 centerPosition)
 {
     presenter.RotatorUseCase.OnPressStart(position, centerPosition);
 }
Пример #5
0
 public static IObservable <float> GetRotationSpeedAsObservable(this IRotatorPresenter presenter)
 {
     return(presenter.RotatorUseCase.RotationSpeedAsObservable);
 }