MB3_DisableHiddenAnimationsEditor.cs 583 B

1234567891011121314
  1. using UnityEngine;
  2. using System.Collections;
  3. using UnityEditor;
  4. [CustomEditor(typeof(MB3_DisableHiddenAnimations))]
  5. public class MB3_DisableHiddenAnimationsEditor : Editor {
  6. public override void OnInspectorGUI(){
  7. EditorGUILayout.HelpBox (
  8. "HOW TO USE \n\nPlace this component on the same game object that has the combined SkinMeshRenderer " +
  9. "\n\n Drag game objects with Animator and/or Animation components that were baked into the combined SkinnedMeshRenderer into the lists below",MessageType.Info);
  10. DrawDefaultInspector ();
  11. }
  12. }