Files
zeling_v2/Packages/com.kybernetik.animancer/Editor/GUI/Field Drawers/UltEventDrawer.cs
2026-05-08 11:04:00 +08:00

22 lines
653 B
C#

// Animancer // https://kybernetik.com.au/animancer // Copyright 2018-2026 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