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