private void OnStartScale(RectangleTool.ToolCoord pivotCoord, RectangleTool.ToolCoord pickedCoord, Vector2 mousePos, DragMode dragMode, bool rippleTime) { Bounds selectionBounds = this.selectionBounds; this.m_DragMode = dragMode; this.m_Pivot = base.ToolCoordToPosition(pivotCoord, selectionBounds); this.m_Previous = base.ToolCoordToPosition(pickedCoord, selectionBounds); this.m_MouseOffset = mousePos - this.m_Previous; this.m_RippleTime = rippleTime; this.m_RippleTimeStart = selectionBounds.min.x; this.m_RippleTimeEnd = selectionBounds.max.x; this.m_CurveEditor.StartLiveEdit(); }