13 lines
254 B
C#
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");
|
|
}
|
|
}
|