// Animancer // https://kybernetik.com.au/animancer // Copyright 2018-2024 Kybernetik // #if UNITY_EDITOR && UNITY_IMGUI using UnityEditor; using UnityEngine; namespace Animancer.Units.Editor { /// [Editor-Only] /// A for fields with an /// which displays them using an 'x' suffix. /// /// https://kybernetik.com.au/animancer/api/Animancer.Units.Editor/AnimationSpeedAttributeDrawer [CustomPropertyDrawer(typeof(AnimationSpeedAttribute), true)] public class AnimationSpeedAttributeDrawer : UnitsAttributeDrawer { /************************************************************************************************************************/ /// protected override int GetLineCount(SerializedProperty property, GUIContent label) => 1; /************************************************************************************************************************/ } } #endif