摘要: 正在整理 阅读全文
posted @ 2020-05-16 16:19 Small_transparent 阅读(186) 评论(0) 推荐(0) 编辑
摘要: 更新问题 发现如果unity发布后的webGL,在网页端读取服务器的数据,会出现报错 Access to XMLHttpRequest at '服务器数据地址t' from origin '本机地址' has been blocked by CORS policy: No 'Access-Contr 阅读全文
posted @ 2019-07-23 13:16 Small_transparent 阅读(2531) 评论(1) 推荐(0) 编辑
摘要: 由于公司变动,以前都是有ini作为配置文件的,这次要改为web的config格式作为配置文件-->xxx.config格式 unity 版本位5.6f, 查询了很多的资料,大部分都要用Unity.Configuration,但是不知为啥我的unity无法支持其dll文件,因为.net格式太低,后来我 阅读全文
posted @ 2019-06-14 13:02 Small_transparent 阅读(379) 评论(0) 推荐(0) 编辑
摘要: 最近在做的东西大部分都要用到instantiate, 实例化某个prefab物体,实例化的物体若没有指定父物体,就会自动生成到根目录下。 这是出现了一个问题,当实例化物体后,更改parent值,这时,实例化物体的scale值会产生相应的改变 有两种解决办法 1、instantiate本身可以有父物体 阅读全文
posted @ 2019-06-14 12:03 Small_transparent 阅读(1760) 评论(0) 推荐(0) 编辑
摘要: C#中的数据类型概览,strut的使用方法,枚举的使用方法。 阅读全文
posted @ 2016-01-07 15:12 Small_transparent 阅读(398) 评论(1) 推荐(0) 编辑