13 lines
434 B
C#
13 lines
434 B
C#
#if UNITY_2019_1_OR_NEWER
|
|
using UnityEditor;
|
|
using UnityAtoms.Editor;
|
|
|
|
namespace UnityAtoms.KitsuneCafe.Atom.ItemSystem.Editor
|
|
{
|
|
/// <summary>
|
|
/// Constant property drawer of type `Item`. Inherits from `AtomDrawer<ItemConstant>`. Only availble in `UNITY_2019_1_OR_NEWER`.
|
|
/// </summary>
|
|
[CustomPropertyDrawer(typeof(ItemConstant))]
|
|
public class ItemConstantDrawer : VariableDrawer<ItemConstant> { }
|
|
}
|
|
#endif
|