• Stars
    star
    210
  • Rank 186,821 (Top 4 %)
  • Language
    C#
  • License
    MIT License
  • Created over 2 years ago
  • Updated 8 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Luban Unity GUI 工具

README

license

项目依赖

项目中需要有Odin这个工具

导入工程方式

  • 如果使用 UPM可以在 package.json 中增加如下内容
"com.liuocean.luban_unity_gui":"https://github.com/LiuOcean/Luban_Unity_GUI.git?path=Assets/"
  • 或者直接Assets文件夹下的Editor文件夹和package.json直接复制到项目

创建配置文件

Assets 中,右键 Create/Luban/ExportConfig 即可

如果项目中需要多种配置,可以考虑创建多个配置文件,加载好后,调用 Gen 来生成

生命周期

在项目 Editor 代码定义继承 IBeforeGenIAfterGen

image