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

19 lines
604 B
C#

// using UnityEditor;
// using UnityEngine;
//
// [CustomPropertyDrawer(typeof(AttackBehaviour))]
// public class AttackDrawer : PropertyDrawer
// {
// public override float GetPropertyHeight (SerializedProperty property, GUIContent label)
// {
// int fieldCount = 0;
// return fieldCount * EditorGUIUtility.singleLineHeight;
// }
//
// public override void OnGUI (Rect position, SerializedProperty property, GUIContent label)
// {
//
// Rect singleFieldRect = new Rect(position.x, position.y, position.width, EditorGUIUtility.singleLineHeight);
// }
// }