mirror of
https://github.com/unity-atoms/unity-atoms.git
synced 2025-01-23 00:28:23 -05:00
14 lines
446 B
C#
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 `GameObject`. Inherits from `AtomDrawer<GameObjectConstant>`. Only availble in `UNITY_2019_1_OR_NEWER`.
|
||
|
/// </summary>
|
||
|
[CustomPropertyDrawer(typeof(GameObjectConstant))]
|
||
|
public class GameObjectConstantDrawer : VariableDrawer<GameObjectConstant> { }
|
||
|
}
|
||
|
#endif
|