private void RadialController_RotationChanged(object sender, RadialControllerHelper.Events.RadialControllerRotationChangedEventArgs args)
 {
     _rotationOffset += args.RotationDeltaInDegrees;
     rotationSpeed    = _startRotationSpeed * (1 + _rotationOffset / 360f);
 }
Beispiel #2
0
 private void RadialController_RotationChanged(object sender, RadialControllerHelper.Events.RadialControllerRotationChangedEventArgs args)
 {
     this.transform.Rotate(Vector3.up, args.RotationDeltaInDegrees);
 }