Py学习  »  Git

[Unity 3D]giles - A Runtime Level Editor for Unity3D - Github

雨落随风 • 4 年前 • 359 次点击  

Giles Unity官方的一个运行时编辑器。

GitHub 上的工程多如繁星,有些好的仓库,但凡不经意间错过了就很难找回,故稍作采撷,希望能帮助到有心人。
本文集以一个小的功能点为单位行文,也便于拾取罢!

简介:

笔者今天推荐的仓库叫 GILES
GILES is a runtime level editor for Unity games. It is designed to be completely functional on it's own, but open to extensibility at every opportunity.
她是一个运行时的编辑器,非常完善,能够独立运行,可扩展。

功能:

  • Selection manager
    选择管理器
  • Grid snapping
    网格吸附
  • Translate, rotate, and scale handles
    支持位移,旋转,缩放柄
  • Scene save / load
    支持场景的加载与保存
    * Levels written to human-readable JSON.
    场景文件保存为方便阅读的json格式
  • Saves all objects in scene via reflection, no additional code required.
    通过反射保存场景文件不需要额外脚本。
  • Writes only state deltas if prefabs are used.
    可对预制体增量修改。
  • Serialization process is customizable with both simple attributes or complete overloading.
    序列化流程可简化为属性操作或者方法重载。
  • Undo/redo.
    支持Undo /Redo

使用:

  1. Install Unity 2017.1 or greater.
    请使用 2017及以上版本
  2. In Player Settings, set "API Compatibility Level" to ".NET 2.0"
    不可使用 2.0子集
  3. Open GILES project.
    导入 Giles
  4. Open GILES/Example/Level Editor
    打开示例:GILES/Example/Level Editor

演示:

image

链接:

giles

结语:

这个工程为我们提供了非常多的编辑器功能,如果你想写一个自己的编辑器,可以直接用或者借鉴也行哈。

本文集持续更新ing,喜欢记得点赞关注哦!

Python社区是高质量的Python/Django开发社区
本文地址:http://www.python88.com/topic/34834
 
359 次点击