Object Transform 脚本 移动旋转缩放物体插件
插件
资源名称 : Object Transform
资源版本 : v1.0.2
资源类型 : .unitypackage
资源大小 : 359.7KB
更新时间 : 2015-06-28
支持正版 : ↓↓↓↓↓↓插件仅用于学习,禁止商用,为了维护您的个人权益,请支持正版↓↓↓↓↓↓
资源名称:Object Transform
分类:脚本
发布者:rqh
评分:二星(9人评分)
价格:
$5(人民币 5*6.6 = 33)淘宝16.5RMB买的!
地址:
https://www.assetstore.unity3d.com/cn/#!/content/11574
说明:
插件包支持用户使用鼠标拖拽和移动,实时的移动、旋转、缩放物体。精确的选择线框和调整线宽度到你适应的范围。
易于实现和移植到你的项目,通过简单的拖拽移动脚本。
版本:v1.0.2
日期:2015.06.28
文件大小:359.7KB
原始版本发布日期:2014.04.30
Unity支持:
要求Unity 4.6.0 或更高版本。
-
沙发
yhr28
-
2017-2-14 10:05:47
sadly, shader doesn't work in unity5.0.1. The gizmo just looks white.
But the action still looks great, would you fix it?
hey guys, i think i found the bugs in Unity5.
You should change all of your line material like this:
lineMat = new Material("Shader \"Lines/Colored Blended\" {" + "SubShader { Pass { " + " Blend SrcAlpha OneMinusSrcAlpha " + " ZWrite Off Cull Off Fog { Mode Off } " + " BindChannels {" + " Bind \"vertex\", vertex Bind \"color\", color }" + "} } }");
Using a shader on your line material that takes into account the vertex color is essential for the GL rendering. And make sure GL.Color set after GL.Begin.
When these done, i get the great effect just like the Web Demo.
This code should be cleanedup.
-
5#
树静风止
-
2017-2-15 11:12:14
引用: 竟然还要用户名 发表于 2017-2-14 16:25
sadly, shader doesn't work in unity5.0.1. The gizmo just looks white.
But the action still looks gre ...
嘿,我的机油!对于5.0版本,导入资源包后会提示API升级,点升级就好了,不用自己去修复bug。
-
6#
任林波
-
2017-2-15 13:55:06
这个插件不知道具体咋样,实际也就是几个脚本,也没啥
-
15#
一个逗比
-
2017-4-26 15:15:00
unity5.4.3,unity5.5.1都出现问题,不显示颜色