Home

Awesome

<p align="center"> <img src="https://user-images.githubusercontent.com/16713354/217272667-fe624616-0b66-4eee-b6d4-ed63b2225f09.png"> </p>

New binding system is out.(2023.2+)

Binding

<p align="center"> <img src="https://user-images.githubusercontent.com/16713354/217278859-d88412aa-da4c-4262-842e-1b194a76bd0c.gif"> </p>

Usage 使用

image

  1. Namespace (命名空间)
  2. Change the location where the script was generated. (更改脚本生成位置)
  3. Generate Button. (点击即可生成)
  4. The location where the script was generated. (脚本生成的位置)
  5. Script Content Generate preview. (预览)

Generate/Save/Save As/Select in Menu 菜单按钮选项

image

Click Menu and you can see many options

Filter 过滤

image

You can open the Filter option by clicking the button in the upper right corner.

你可以通过点击右上角的按钮打开过滤选项

Valid Fileds? 有效字段

The element name in UIBuilder rules are as follows below.Like you normally declare a variable. 在UIBuilder中的元素名称的规则跟你正常声明一个变量的规则就行。

(The field is invalid because the beginning contains invalid characters -) (字段无效是因为开头有一个-符号)

Install

Via Unity Package Manager 通过PackageManager直接使用Git链接

Add Package From Git URL https://github.com/Shaun-Fong/UIToolkit-FieldBinding.git?path=/Packages/com.shaunfong.uitoolkit-binding

Or 或者

Via OpenUPM 通过OpenUPM(推荐)

Name package.openupm.com

URL https://package.openupm.com