/// <summary> /// Releases unmanaged and - optionally - managed resources. /// </summary> public void Dispose() { if (mMotor == null) { return; } mMotor.Dispose(); mMotor = null; }
/// <summary> /// Releases unmanaged and - optionally - managed resources. /// </summary> public void Dispose() { if (mMotor == null) return; mMotor.Dispose(); mMotor = null; }
/// <summary> /// Initializes a new instance of the <see cref="TranslationalLimitMotor"/> class. /// </summary> /// <param name="motor">The motor.</param> public TranslationalLimitMotor(BulletSharp.TranslationalLimitMotor motor) { mMotor = motor; }
/// <summary> /// Initializes a new instance of the <see cref="TranslationalLimitMotor"/> class. /// </summary> /// <param name="motor">The motor.</param> public TranslationalLimitMotor(BulletSharp.TranslationalLimitMotor motor) { mMotor = motor; }