Exemplo n.º 1
0
 protected virtual void OnAfterStepRangeChange()
 {
     Drive.SetUp();
 }
Exemplo n.º 2
0
 protected virtual void OnAfterStepIncrementChange()
 {
     Drive.SetUp();
 }
Exemplo n.º 3
0
 protected virtual void OnAfterTargetValueChange()
 {
     SetTargetValue(TargetValue);
     Drive.SetUp();
 }
Exemplo n.º 4
0
 protected virtual void OnAfterDriveSpeedChange()
 {
     ProcessDriveSpeed(DriveSpeed, MoveToTargetValue);
     Drive.SetUp();
 }
Exemplo n.º 5
0
 protected virtual void OnAfterDriveAxisChange()
 {
     CalculateDriveAxis(DriveAxis);
     Drive.SetUp();
 }
Exemplo n.º 6
0
 protected virtual void OnAfterMoveToTargetValueChange()
 {
     ProcessAutoDrive(MoveToTargetValue);
     Drive.SetUp();
 }
Exemplo n.º 7
0
 /// <summary>
 /// Sets the new <see cref="TargetValue"/>.
 /// </summary>
 /// <param name="targetValue">The new value.</param>
 protected virtual void SetTargetValue(float targetValue)
 {
     Drive.SetTargetValue(targetValue);
 }
 protected virtual void OnAfterDriveAxisChange()
 {
     Drive.SetUp();
 }
Exemplo n.º 9
0
 /// <summary>
 /// Calculates the axis to use for the given <see cref="DriveAxis.Axis"/>.
 /// </summary>
 /// <param name="driveAxis">The new value.</param>
 protected virtual void CalculateDriveAxis(DriveAxis.Axis driveAxis)
 {
     Drive.CalculateDriveAxis(driveAxis);
 }
Exemplo n.º 10
0
 /// <summary>
 /// Processes the drive's ability to automatically drive the control.
 /// </summary>
 /// <param name="autoDrive">Whether the drive can automatically drive the control.</param>
 protected virtual void ProcessAutoDrive(bool autoDrive)
 {
     Drive.ConfigureAutoDrive(autoDrive);
 }
Exemplo n.º 11
0
 protected virtual void OnAfterHingeLocationChange()
 {
     Drive.CalculateHingeLocation(HingeLocation);
 }
Exemplo n.º 12
0
 protected virtual void OnAfterDriveSpeedChange()
 {
     Drive.SetUp();
 }
Exemplo n.º 13
0
 protected virtual void OnAfterMoveToTargetValueChange()
 {
     Drive.SetUp();
 }
 protected virtual void OnAfterHingeLocationChange()
 {
     Drive.SetUp();
 }
Exemplo n.º 15
0
 /// <summary>
 /// Processes the changes to the <see cref="DriveSpeed"/>.
 /// </summary>
 /// <param name="driveSpeed">The new value.</param>
 /// <param name="moveToTargetValue">Whether the new value should be processed.</param>
 protected virtual void ProcessDriveSpeed(float driveSpeed, bool moveToTargetValue)
 {
     Drive.ProcessDriveSpeed(driveSpeed, moveToTargetValue);
 }
Exemplo n.º 16
0
 protected virtual void OnAfterDriveLimitChange()
 {
     Drive.SetUp();
 }
Exemplo n.º 17
0
 protected virtual void OnAfterDriveLimitChange()
 {
     Drive.CalculateDriveLimits(DriveLimit);
 }