TheInitialProject/Assets/Scripts/UI/UIControl/MyButtonEditor.cs
2024-10-23 16:59:02 +08:00

13 lines
254 B
C#

using UnityEditor;
[CustomEditor(typeof(UILongClickButton), false)]
public class MyButtonEditor : Editor
{
private SerializedProperty mBtnType;
private void OnEnable()
{
mBtnType = serializedObject.FindProperty("mBtnType");
}
}