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

14 lines
446 B
C#

#if UNITY_2019_1_OR_NEWER
using UnityEditor;
using UnityAtoms.Editor;
namespace UnityAtoms.BaseAtoms.Editor
{
/// <summary>
/// Constant property drawer of type `Collider2D`. Inherits from `AtomDrawer&lt;Collider2DConstant&gt;`. Only availble in `UNITY_2019_1_OR_NEWER`.
/// </summary>
[CustomPropertyDrawer(typeof(Collider2DConstant))]
public class Collider2DConstantDrawer : VariableDrawer<Collider2DConstant> { }
}
#endif