30 lines
923 B
C#
30 lines
923 B
C#
// using UnityEditor;
|
|
//
|
|
// #if UNITY_EDITOR
|
|
// [CustomEditor(typeof(UXGroup))]
|
|
// public class UXGroupEditor : Editor
|
|
// {
|
|
// private SerializedProperty m_AllowSwitchOff;
|
|
// private SerializedProperty m_Buttons;
|
|
// private SerializedProperty m_OnSelectedChanged;
|
|
//
|
|
// private void OnEnable()
|
|
// {
|
|
// m_AllowSwitchOff = serializedObject.FindProperty("m_AllowSwitchOff");
|
|
// m_Buttons = serializedObject.FindProperty("m_Buttons");
|
|
// m_OnSelectedChanged = serializedObject.FindProperty("onSelectedChanged");
|
|
// }
|
|
//
|
|
// public override void OnInspectorGUI()
|
|
// {
|
|
// serializedObject.Update();
|
|
//
|
|
// EditorGUILayout.PropertyField(m_AllowSwitchOff);
|
|
// EditorGUILayout.PropertyField(m_Buttons, true);
|
|
// EditorGUILayout.PropertyField(m_OnSelectedChanged);
|
|
//
|
|
// serializedObject.ApplyModifiedProperties();
|
|
// }
|
|
// }
|
|
// #endif
|