2025-05-09 15:40:34 +08:00

22 lines
653 B
C#

// Animancer // https://kybernetik.com.au/animancer // Copyright 2018-2024 Kybernetik //
#if UNITY_EDITOR && ULT_EVENTS
using Animancer.Editor;
using UnityEditor;
[assembly: PolymorphicDrawerDetails(typeof(UltEvents.UltEventBase), SeparateHeader = true)]
namespace Animancer.Editor
{
/// <summary>[Editor-Only] <see cref="PropertyDrawer"/> for <see cref="UltEvent"/>.</summary>
/// https://kybernetik.com.au/animancer/api/Animancer.Editor/UltEventDrawer
[CustomPropertyDrawer(typeof(UltEvent), true)]
public class UltEventDrawer : UltEvents.Editor.UltEventDrawer,
PropertyDrawers.IDiscardOnSelectionChange
{ }
}
#endif