更改文件架构
This commit is contained in:
18
Packages/Common~/Scripts/DataBind/BITKit.DataBind.asmdef
Normal file
18
Packages/Common~/Scripts/DataBind/BITKit.DataBind.asmdef
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"name": "BITKit.DataBind",
|
||||
"rootNamespace": "",
|
||||
"references": [
|
||||
"GUID:a209c53514018594f9f482516f2a6781",
|
||||
"GUID:14fe60d984bf9f84eac55c6ea033a8f4",
|
||||
"GUID:9400d40641bab5b4a9702f65bf5c6eb5"
|
||||
],
|
||||
"includePlatforms": [],
|
||||
"excludePlatforms": [],
|
||||
"allowUnsafeCode": false,
|
||||
"overrideReferences": false,
|
||||
"precompiledReferences": [],
|
||||
"autoReferenced": true,
|
||||
"defineConstraints": [],
|
||||
"versionDefines": [],
|
||||
"noEngineReferences": false
|
||||
}
|
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 90b448749ba9be04ebf2eb5953b53caf
|
||||
AssemblyDefinitionImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
28
Packages/Common~/Scripts/DataBind/DataBind.cs
Normal file
28
Packages/Common~/Scripts/DataBind/DataBind.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
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
|
||||
}
|
11
Packages/Common~/Scripts/DataBind/DataBind.cs.meta
Normal file
11
Packages/Common~/Scripts/DataBind/DataBind.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ea68820587b0ebf42baab6f19466920b
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Reference in New Issue
Block a user