com.alicizax.kybernetik.ani.../Editor/GUI/Field Drawers/UnityEventDrawer.cs
陈思海 3e7c253249 init
2025-01-08 15:26:57 +08:00

20 lines
608 B
C#

// Animancer // https://kybernetik.com.au/animancer // Copyright 2018-2024 Kybernetik //
#if UNITY_EDITOR
using Animancer.Editor;
using UnityEditor;
[assembly: PolymorphicDrawerDetails(typeof(UnityEngine.Events.UnityEventBase), SeparateHeader = true)]
namespace Animancer.Editor
{
/// <summary>[Editor-Only] <see cref="PropertyDrawer"/> for <see cref="UnityEvent"/>.</summary>
/// https://kybernetik.com.au/animancer/api/Animancer.Editor/UnityEventDrawer
[CustomPropertyDrawer(typeof(UnityEvent), true)]
public class UnityEventDrawer : UnityEditorInternal.UnityEventDrawer { }
}
#endif