public static void CloneTo(this VRCAnimatorLocomotionControl source, VRCAnimatorLocomotionControl dest)
 {
     dest.ApplySettings     = source.ApplySettings;
     dest.debugString       = source.debugString;
     dest.disableLocomotion = source.disableLocomotion;
     dest.hideFlags         = source.hideFlags;
     dest.name = source.name;
 }
    public void OnEnable()
    {
        if (target == null)
        {
            return;
        }

        if (control == null)
        {
            control = (VRCAnimatorLocomotionControl)target;
        }

        styleButtonActive                    = new GUIStyle(EditorStyles.miniButton);
        styleButtonInactive                  = new GUIStyle(EditorStyles.miniButton);
        styleButtonActive.fixedWidth         = 80;
        styleButtonInactive.fixedWidth       = 80;
        styleButtonActive.normal.textColor   = Color.green;
        styleButtonInactive.normal.textColor = Color.gray;

        serializedObject.ApplyModifiedProperties();
    }