All Projects → zs9024 → Quick_uicode

zs9024 / Quick_uicode

generate unity ui code quickly by editor(通过编辑器快速生成ui代码)

Projects that are alternatives of or similar to Quick uicode

Proccharvfx
Procedural character generation with Unity Shader Graph and VFX Graph
Stars: ✭ 114 (-4.2%)
Mutual labels:  unity
Unitydecompiled
Now unnecessary, use the official code instead: https://github.com/Unity-Technologies/UnityCsReference
Stars: ✭ 1,486 (+1148.74%)
Mutual labels:  unity
Invisible Highway
Invisible Highway is an experiment in controlling physical things in the real world by drawing in AR. Simply make a pathway along the floor on your phone and the robot car will follow that path on the actual floor in your room. A custom highway with scenery is generated along the path to make the robots a little more scenic on your phone screen.
Stars: ✭ 118 (-0.84%)
Mutual labels:  unity
Holobot
HoloBot is a reusable 3D interface that allows HoloLens & VR users to interact with any bot using Mixed Reality & Speech.
Stars: ✭ 114 (-4.2%)
Mutual labels:  unity
Ma textureatlasser
Texture atlas creator for Unity
Stars: ✭ 116 (-2.52%)
Mutual labels:  unity
Unityanimatorevents
UnityEvents triggered by states inside an Animator. Easy to use and performant.
Stars: ✭ 117 (-1.68%)
Mutual labels:  unity
Otto
Otto sample project for the AI Planner
Stars: ✭ 113 (-5.04%)
Mutual labels:  unity
Unity Multiprocess Buildpipeline
multiprocess buildpipeline for unity
Stars: ✭ 119 (+0%)
Mutual labels:  unity
Guide To Staying Productive
If you're looking for ways to stay motivated and focused, while still having fun, this guide is for you! Contributions and any kind of improvements are very welcome!
Stars: ✭ 116 (-2.52%)
Mutual labels:  code
Rock Generator
C# rock generator
Stars: ✭ 118 (-0.84%)
Mutual labels:  unity
Cscore
cscore is a minimal-footprint library providing commonly used helpers & patterns for your C# projects. It can be used in both pure C# and Unity projects.
Stars: ✭ 115 (-3.36%)
Mutual labels:  unity
Unity3d Globe
Unity3D Implementation of Chrome Experiment WebGL Globe
Stars: ✭ 115 (-3.36%)
Mutual labels:  unity
Interactive Erosion
Interactive erosion in Unity
Stars: ✭ 117 (-1.68%)
Mutual labels:  unity
Unityelevatorcompiler
A plugin that plays elevator music while Unity compiles your code.
Stars: ✭ 114 (-4.2%)
Mutual labels:  unity
Geomapping With Unity Mapbox
Geomap is the virtualization of data that maps a Country. Mapbox Unity SDK gives data(Global map layers of Streets, Buildings, Elev, and Satellite) generating custom 3D worlds for Mobile VR/AR apps.
Stars: ✭ 118 (-0.84%)
Mutual labels:  unity
Cli Spring Boot Scaffold
command line for generate crud and configs for spring boot projects
Stars: ✭ 113 (-5.04%)
Mutual labels:  generate
Awesome Upm
A curated list of awesome Git repositories for Unity that support Unity Package Manager (UPM). Feel free to add yours in!
Stars: ✭ 116 (-2.52%)
Mutual labels:  unity
Polygon Wind
Wind shader for low poly assets in Unity.
Stars: ✭ 119 (+0%)
Mutual labels:  unity
Gdk For Unity Fps Starter Project
SpatialOS GDK for Unity FPS Starter Project
Stars: ✭ 119 (+0%)
Mutual labels:  unity
Unity 2d Pathfinding
A very simple 2d tile-based pathfinding for unity, with penalty supported
Stars: ✭ 117 (-1.68%)
Mutual labels:  unity

quick_uicode

介绍

一个快速自动生成ui代码的编辑器工具,解除繁琐的ui控件查找赋值和事件注册,包括c#和lua两种语言,lua框架基于tolua#(暂未包含进工程)。
配合使用psd2ugui工具 https://github.com/zs9024/quick_psd2ugui ,让做ui更简单。
其中编辑器中列表的序列化使用了第三方开源的序列化工具reorderble-list: https://github.com/rotorz/unity3d-reorderable-list
unity测试版本:5.3.3f1

效果

旋转效果1

使用

由于每个项目的ui系统都不相同,目前只实现了通用的变量声明,查找赋值,事件注册等功能,如需支持自己的ui框架,需自行修改生成脚本的代码。后续可能会添加定制功能

界面结构

  • 使用过程按从左到右,从上到下的顺序。
  • 左半部分用来加载待处理ui,查找和筛选需要的控件。另外单独出来一个gameobject类型的“其他ui对象”,是为了某些情况可以做整体的隐藏显示或克隆操作。
  • 右半部分用来生成代码,并且如果选择脚本继承monobehavior,还可以通过按钮挂载脚本到ui上。
  • “绑定ui”操作即自动完成在inspector面板拖动控件赋值的操作,所以和“变量赋值”操作二选一即可。

操作提示

  • “选择待处理ui”处拖入ui面板
  • 点击“查找ui控件”按钮,会显示控件列表,点击列表元素可定位到ui的相应节点,通过“+”“-”号分别添加和剔除控件
  • “其他ui对象”列表需自行添加
  • 注册事件时,可筛选指定的某些类型,未勾选的控件不会生成事件代码
  • 如果不想生成脚本可选择复制代码,将查找或事件注册代码拷贝至自己项目
  • 可参考demo场景,codepanel.cs,codepanel.lua
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].