Code Monkey home page Code Monkey logo

exportluaui's Introduction

ExportLuaUI

Unity热更新tolua框架NGUI对应lua脚本导出工具

使用方法

  1. 将ExportLuaUI.cs放入工程目录Editor文件夹内
  2. 右键点击目标Prefab(支持多选),选择"Export Lua UI Script"

注意事项

  1. static节点下的UI脚本不会被导出.
  2. 所有lab开头(大小写敏感, 下同)的UILabel, spr开头的UISprite, btn开头包含碰撞的节点为自动生成代码对象.
  3. 节点按照驼峰命名,否则无法达到最佳效果. 如: labText, sprIcon, btnCloseWindow.
  4. 导出时存在同名文件, 如果选择保存两者, 则在同目录中生成filename_auto.lua.

实际效果

exportluaui's People

Contributors

glegoo avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.