上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 42 下一页
摘要: https://www.cnblogs.com/blueberryzzz/p/8947446.html 元表的作用 元表是用来定义对table或userdata操作方式的表 举个例子 我们直接对两个table执行+运算,会报错 因为程序不知道如何对两个表执行+运行,这时候就需要通过元表来定义如何执行 阅读全文
posted @ 2019-03-04 22:04 三页菌 阅读(307) 评论(0) 推荐(0) 编辑
摘要: 百度是没有的,google了下 这句话的意思是编码1252没找到,确保程序及是国际化格式 发生在我使用unity读取xlsx文件,在编辑器运行正常,但是发布出来不正常,报错 解决方案: 链接:https://answers.unity.com/questions/42955/codepage-125 阅读全文
posted @ 2019-02-22 12:31 三页菌 阅读(2223) 评论(1) 推荐(1) 编辑
摘要: using System.Collections; using System.Collections.Generic; using UnityEngine; using System; using System.Linq; public static class RandomHelper { // 阅读全文
posted @ 2019-02-06 11:32 三页菌 阅读(460) 评论(0) 推荐(1) 编辑
摘要: 网上找了半天,没一个能用的,干脆自己写个,直接拷贝这个脚本就行 这个是ios版本的,安卓的话写在注释里面,去掉注释就能用了 现在ios支持一种新格式叫astc比原本的pvrtc压缩比更高,而且质量更高,但是iphone5及更老的机子不支持,所以不打算支持iphone5的话,可以用新格式,不然还是用p 阅读全文
posted @ 2019-01-12 15:01 三页菌 阅读(4437) 评论(0) 推荐(0) 编辑
摘要: scene视图里面能直接看,打开左上角那个下拉选项,选择overdraw就行 转载篇在game视图下查看overdraw: https://blog.csdn.net/complicatedcc/article/details/70214681 c#代码,要挂在摄像机上 shader代码 不过作者说 阅读全文
posted @ 2019-01-09 21:32 三页菌 阅读(5381) 评论(0) 推荐(0) 编辑
摘要: 通过代码创建的草的mesh y轴单位是1 0到6的距离是0.9 一棵草左右摇摆 写法比较粗糙,后面再研究下更好的写法 阅读全文
posted @ 2019-01-08 14:57 三页菌 阅读(2138) 评论(0) 推荐(0) 编辑
摘要: 有2种办法,具体看情况使用 1.unity自带功能 选择放入的字体,修改Character项为"Custom set",接着出现Custom Chars中输入你想使用的字符串,字符重复无所谓,因为最终会自动过滤掉重复字符.如输入"你好世界",那么整个字体最终只包含"你好世界"这四个字的 字符贴图,也 阅读全文
posted @ 2019-01-07 20:19 三页菌 阅读(758) 评论(0) 推荐(0) 编辑
摘要: Xcode product 产品 archive 存档 (等) distribute app 分发app development 开发者 next next (等 比较漫长) export 选择你要导出的ipa放在哪个文件夹 (完毕) 阅读全文
posted @ 2019-01-05 11:45 三页菌 阅读(634) 评论(0) 推荐(0) 编辑
摘要: 1.内存分析插件,unity官方出品 官方地址:https://bitbucket.org/Unity-Technologies/memoryprofiler 我整理的:https://download.csdn.net/download/m0_37796494/10892336 使用方式:wind 阅读全文
posted @ 2019-01-03 11:19 三页菌 阅读(2952) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/candycat1992/article/details/52067975 阅读全文
posted @ 2018-12-29 17:36 三页菌 阅读(179) 评论(0) 推荐(0) 编辑
上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 42 下一页