会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
年轮下的
上一页
1
2
3
2019年2月27日
截屏功能-压缩Texture保存本地
摘要: public void SaveTexture(string path, Texture2D texture, float scaleValue) { float tempX = texture.width; float tempY = texture.height; float x = tempX
阅读全文
posted @ 2019-02-27 22:00 年轮下的
阅读(145)
评论(0)
推荐(0)
UnityEditor+AssetsBundel使用笔记
摘要: 命名空间:UnityEditor 继承类:EditorWindiw (这个类可以实现弹出窗口)静态变量:自身类的对象 窗口按钮的显示:方法上一行[MenueItem(“菜单路径”)]即可,创建出来的按钮就是触发这个方法,例:[MenueItem(“leixuan/tool”)]public stat
阅读全文
posted @ 2019-02-27 21:58 年轮下的
阅读(157)
评论(0)
推荐(0)
UGUI世界转屏幕坐标
摘要: 方法一: Vector2 pos; RectTransformUtility.ScreenPointToLocalPointInRectangle(canvas.transform as RectTransform, Camera.main.WorldToScreenPoint(wordPos),
阅读全文
posted @ 2019-02-27 21:58 年轮下的
阅读(451)
评论(0)
推荐(0)
上一页
1
2
3
导航
博客园
首页
新随笔
联系
订阅
管理
公告