static void RestoreBindPose() { var selection = Selection.activeTransform; if (selection == null) { return; } AnimationRiggingEditorUtils.RestoreBindPose(selection); }
static void RigSetup() { var selection = Selection.activeTransform; if (selection == null) { return; } AnimationRiggingEditorUtils.RigSetup(selection); }
static void RigSetup(MenuCommand command) { var animator = command.context as Animator; AnimationRiggingEditorUtils.RigSetup(animator.transform); }