protected override void RenderContent(UnityEngine.Object undoRecordObject)
 {
     ToggleGrab.RenderEditorGUI(undoRecordObject);
     EnableRotation.RenderEditorGUI(undoRecordObject);
     EnableRotationAroundAnchor.RenderEditorGUI(undoRecordObject);
     EnableScaling.RenderEditorGUI(undoRecordObject);
     EnableOffsetFromSurface.RenderEditorGUI(undoRecordObject);
     EnableAnchorAdjust.RenderEditorGUI(undoRecordObject);
     EnableOffsetFromAnchor.RenderEditorGUI(undoRecordObject);
     NextAlignmentAxis.RenderEditorGUI(undoRecordObject);
 }
        /// <summary>
        /// Configures the Grab Type to be used.
        /// </summary>
        public virtual void ConfigureGrabType()
        {
            switch (GrabType)
            {
            case ActiveType.HoldTillRelease:
                StartStateGrab.TrySetActive(true);
                StopStateGrab.TrySetActive(true);
                ToggleGrab.TrySetActive(false);
                break;

            case ActiveType.Toggle:
                StartStateGrab.TrySetActive(false);
                StopStateGrab.TrySetActive(false);
                ToggleGrab.TrySetActive(true);
                break;
            }
        }