summaryrefslogtreecommitdiff
path: root/VRCSDK3Worlds/Assets/MeshBaker/Editor/MB3_DisableHiddenAnimationsEditor.cs
blob: 0cce8473d86d1e00b2765c63f00e74237a360e47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
using UnityEngine;
using System.Collections;
using UnityEditor;
using DigitalOpus.MB.Core;

namespace DigitalOpus.MB.MBEditor
{
    [CustomEditor(typeof(MB3_DisableHiddenAnimations))]
    public class MB3_DisableHiddenAnimationsEditor : Editor
    {
        public override void OnInspectorGUI()
        {
            EditorGUILayout.HelpBox(
                "HOW TO USE \n\nPlace this component on the same game object that has the combined SkinMeshRenderer " +
                                     "\n\n Drag game objects with Animator and/or Animation components that were baked into the combined SkinnedMeshRenderer into the lists below", MessageType.Info);
            DrawDefaultInspector();
        }
    }
}