29 lines
613 B
C#
29 lines
613 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using UnityEngine.UIElements;
|
|
#if UNITY_EDITOR
|
|
using UnityEditor;
|
|
using UnityEditor.UIElements;
|
|
#endif
|
|
namespace BITKit
|
|
{
|
|
public class DataBind : MonoBehaviour
|
|
{
|
|
|
|
}
|
|
#if UNITY_EDITOR
|
|
[CustomEditor(typeof(DataBind))]
|
|
public class DataBindInspector : BITInspector<DataBind>
|
|
{
|
|
public override VisualElement CreateInspectorGUI()
|
|
{
|
|
FillDefaultInspector();
|
|
var button = root.Create<Button>();
|
|
button.text = "Bind";
|
|
return root;
|
|
}
|
|
}
|
|
#endif
|
|
}
|