12345678910111213141516171819202122232425262728 |
- // Magica Cloth.
- // Copyright (c) MagicaSoft, 2020-2022.
- // https://magicasoft.jp
- using UnityEditor;
- namespace MagicaCloth
- {
- /// <summary>
- /// エリア風
- /// </summary>
- [CustomEditor(typeof(MagicaAreaWind))]
- public class MagicaAreaWindInspector : Editor
- {
- public override void OnInspectorGUI()
- {
- //DrawDefaultInspector();
- WindComponent scr = target as WindComponent;
- serializedObject.Update();
- Undo.RecordObject(scr, "WindComponent");
- EditorInspectorUtility.WindComponentInspector(scr, serializedObject);
- serializedObject.ApplyModifiedProperties();
- }
- }
- }
|