unity——Coroutine
摘要:赶个工作,周末再补充完善下。 http://twistedoakstudios.com/blog/Post83_coroutines-more-than-you-want-to-know
阅读全文
unity——打包问题积累
摘要:案例一: 背景:打包时提示”Error building Player because scripts had compiler errors“和其他代码编译不过的异常提示(”/ToLua/ToLua/Editor/ToLuaMenu.cs(26,7): error CS0246: The type
阅读全文
unity——litjson
摘要:一、关于litjson litjson是一个轻巧的cs读写json文件的开源库。 官网:http://lbv.github.io/litjson/ 二、简单的读取json例子:(win7、vs10的环境) (1)litjson官网下载源码,新建一个cs项目库工程,将litjson源码中的src文件夹
阅读全文
unity——依赖打包之初识
摘要:unity4.x的依赖打包浅介: 已知有两个prefab名称分别为cube_elem和cube_collectin,cube_collection中引用到cube_elem。 (1)测试代码一:简单的依赖打包和加载的实现。 第二、三个ab里的资源都引用了第一个ab里的资源,第一个ab做共享资源,第二
阅读全文
Unity——工具使用常见问题
摘要:问题:动画预览窗提示“No model is available for preview. please drag a model into this preview area.” 解决: (1)将已有的模型拖入动画预览窗。 (2)操作(1)步骤如果还有问题,将模型的Animation Type置为
阅读全文
Unity——编程中常见问题(永不止续)
摘要:问题:`System.IO.File' does not contain a definition for `ReadAllBytes' 解决: 这是由于unity的build settings默认指定web player平台,而非standalone build。 file->build sett
阅读全文