摘要: 1.U3D经常莫名奇妙崩溃。 一般是由于空异常造成的,多多检查自己的引用是否空指针。 2.编码切换警告提示。 警告提示:Some are Mac OS X (UNIX) and some are Windows. This might lead to incorrect line numbers i 阅读全文
posted @ 2020-11-10 23:03 ariboy 阅读(1580) 评论(0) 推荐(0) 编辑
摘要: 一、游戏开发团队组成 设计师 制作人 工程师 艺术家 其他人员二、游戏 概念:被计算机科学家称为软实时互动基于代理计算机模拟的例子 软实时:soft real-time system 模拟: 用数学方式来为一些真实世界的子集建模。近似化和简化是游戏开发者最有力的两个工具不同的游戏:第一人称射击,平台 阅读全文
posted @ 2020-11-10 23:01 ariboy 阅读(425) 评论(0) 推荐(0) 编辑
摘要: 一.Assets下的Resources(Unity系统文件夹) :路径 Application.dataPath/Resources 可以使用Resources.Load("文件名字,注:不包括文件后缀名");把文件夹中的对象加载出来。 GameObject go = Resources.Load( 阅读全文
posted @ 2018-08-30 09:47 ariboy 阅读(656) 评论(0) 推荐(0) 编辑
摘要: 解决方法很简单,在android项目AndroidManifest.xml文件中的activity中添加如下内容: android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientati 阅读全文
posted @ 2018-06-02 14:21 ariboy 阅读(12597) 评论(0) 推荐(0) 编辑
摘要: 【转载请注明出处】 //表示时间总量Time.time:(只读)表示从程序运行的总时间,会随着游戏的暂停而停止计算。Time.unscaledTime:(只读)不考虑timescale对时间修改的总时间,也就是程序实际运行时间。也会随着游戏的暂停而停止计算。Time.fixedTime:(只读)表示 阅读全文
posted @ 2018-04-25 12:53 ariboy 阅读(906) 评论(1) 推荐(0) 编辑
摘要: IOS:Application.dataPath : Application/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/xxx.app/DataApplication.streamingAssetsPath : Application/xxxxxxxx-xxxx-xx 阅读全文
posted @ 2018-04-11 15:23 ariboy 阅读(22999) 评论(0) 推荐(0) 编辑
摘要: 文章转自:CSDN http://blog.csdn.net/samsone/article/details/7556781 1、格式化货币(跟系统的环境有关,中文系统默认格式化人民币,英文系统格式化美元) string.Format("{0:C}",0.2) 结果为:¥0.20 (英文操作系统结果 阅读全文
posted @ 2017-10-24 10:30 ariboy 阅读(828) 评论(0) 推荐(0) 编辑
摘要: 链接:http://pan.baidu.com/s/1pKEpnIz 密码:btke 阅读全文
posted @ 2017-09-22 11:21 ariboy 阅读(655) 评论(0) 推荐(0) 编辑
摘要: Unity圣典 传送门:http://www.ceeger.com/Script/Camera/Camera.RenderToCubemap.html Camera.RenderToCubemap 有4个重载 (1)bool RenderToCubemap(Cubemap cubemap) bool 阅读全文
posted @ 2017-08-05 13:06 ariboy 阅读(4507) 评论(0) 推荐(0) 编辑
摘要: 一、OpenGL Cube Texture 立方体纹理 立方体纹理是一种特殊的纹理技术,他用6幅二维贴图构成一个以原点为中心的纹理立方体。对于每个片段,纹理坐标(s,t,r)被当做三维向量看待,每个纹素(texel)都被看做是从原点看到的立方纹理上的的图像。 指定立方体纹理的6张纹理 glTexIm 阅读全文
posted @ 2017-08-05 10:54 ariboy 阅读(1991) 评论(0) 推荐(0) 编辑