void TranslationEnded(SliderHandleBase slider, TranslationEndInfo info) { if (scalingEnded != null) { scalingEnded.Invoke(); } }
void TranslationBegun(SliderHandleBase slider, TranslationBeginInfo info) { if (scalingBegun != null) { scalingBegun.Invoke(); } }
void TranslationUpdated(SliderHandleBase slider, TranslationUpdateInfo info) { if (scaleUpdated != null) { scaleUpdated.Invoke(new ScalingUpdatedInfo ( new ScalingInfo( //World Vector3.one, GetScaleFromTranslation(info.world.delta), GetScaleFromTranslation(info.world.total)), new ScalingInfo( //Local Vector3.one, GetScaleFromTranslation(info.local.delta), GetScaleFromTranslation(info.local.total)) )); } }