unity-atoms/Packages/BaseAtoms/Editor/Drawers/Constants/ColliderConstantDrawer.cs

14 lines
436 B
C#
Raw Normal View History

2020-03-01 20:26:06 -05:00
#if UNITY_2019_1_OR_NEWER
using UnityEditor;
using UnityAtoms.Editor;
namespace UnityAtoms.BaseAtoms.Editor
{
/// <summary>
/// Constant property drawer of type `Collider`. Inherits from `AtomDrawer&lt;ColliderConstant&gt;`. Only availble in `UNITY_2019_1_OR_NEWER`.
/// </summary>
[CustomPropertyDrawer(typeof(ColliderConstant))]
public class ColliderConstantDrawer : VariableDrawer<ColliderConstant> { }
}
#endif