unity-atoms/Packages/BaseAtoms/Editor/Drawers/Collections/StringReferenceAtomBaseVariableDictionaryDrawer.cs
Adam Ramberg c3bc59259f More WIP
2020-03-02 02:26:06 +01:00

14 lines
684 B
C#

#if UNITY_2019_1_OR_NEWER
using UnityEditor;
using UnityAtoms.Editor;
namespace UnityAtoms.BaseAtoms.Editor
{
/// <summary>
/// SerializableDictionary property drawer for type &lt;StringReference, AtomBaseVariable&gt;. Inherits from `SerializableDictionaryDrawer&lt;StringReference, AtomBaseVariable, StringReferenceAtomBaseVariableDictionary&gt;`. Only availble in `UNITY_2019_1_OR_NEWER`.
/// </summary>
[CustomPropertyDrawer(typeof(StringReferenceAtomBaseVariableDictionary))]
public class StringReferenceAtomBaseVariableDictionaryDrawer : SerializableDictionaryDrawer<StringReference, AtomBaseVariable, StringReferenceAtomBaseVariableDictionary> { }
}
#endif