美文网首页UnityEditorunity
[Unity 3d] ExtendedTransformEdit

[Unity 3d] ExtendedTransformEdit

作者: 雨落随风 | 来源:发表于2019-06-01 23:00 被阅读1次

在简书上整理一个与 Unity 有关的一系列 GitHub 仓库,希望能帮助到有心人。
笔者计划以一篇文章一个功能点的方式展开,拾取超方便!

简介:

笔者今天推荐的仓库叫 Extended Transform Editor
这是一个 UnityEditor Transform 功能扩展脚本, 在未大肆颠覆 Transform 组件外观的前提下增加了超多便捷功能。
实属敏捷开发必备之良药呀。

功能:

  • The scale can be uniformly changed by dragging on the "Scale" label as if it was a float field.
    --支持通过在 "Scale" 标签上长按拖拽以等比缩放Scale
  • The position, rotation and scale can all be reset from small buttons to the right of each field.
    --支持点击各自输入框右侧的重置小按钮 一键修改Positon / Rotation / Scale 为默认值
  • You can snap the selected transforms to the ground or set a random rotation from the contex menu.
    --支持通过上下文菜单将选中的所有对象一键吸附到地面,或者为这些对象指定随机旋转属性

演示:

TransformEx

链接

ExtendedTransformEditor

结语:

就冲 Transform 的拖拽等比修改 Scale 的功能就值得安利一波了,更何况他还有其他非常实用的功能呢!
想学习 编辑器脚本的,这个教材也还是可以的哟。

本文集持续更新ing

相关文章

网友评论

    本文标题:[Unity 3d] ExtendedTransformEdit

    本文链接:https://www.haomeiwen.com/subject/zeuztctx.html