You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

23 lines
677 B

using UnityEngine;
namespace UnityEditor.Animations.Rigging
{
internal static class AnimationRiggingContextMenus
{
[MenuItem("CONTEXT/Animator/Rig Setup", false, 611)]
static void RigSetup(MenuCommand command)
{
var animator = command.context as Animator;
AnimationRiggingEditorUtils.RigSetup(animator.transform);
}
[MenuItem("CONTEXT/Animator/Bone Renderer Setup", false, 612)]
static void BoneRendererSetup(MenuCommand command)
{
var animator = command.context as Animator;
AnimationRiggingEditorUtils.BoneRendererSetup(animator.transform);
}
}
}