WinterJamSnowman/Assets/Runtime/Drawers/ArrayElementTitleAttribute.cs

16 lines
341 B
C#
Raw Normal View History

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ArrayElementTitleAttribute : PropertyAttribute {
public string fieldName;
public ArrayElementTitleAttribute() {
this.fieldName = "name";
}
public ArrayElementTitleAttribute(string fieldName) {
this.fieldName = fieldName;
}
}