Fork me on GitHub
上一页 1 ··· 8 9 10 11 12 13 14 15 下一页
摘要: 方法一:在unity的API中,unity给我们提供了一个现成的API : Application.CaptureScreenshot(imagename)。 但是这个API虽然简单,在PC、mac运用没有多大的影响,但是如果是在移动平台上使用的话就显得相当的吃力,因为它会消耗我们很大的CUP,所以 阅读全文
posted @ 2018-02-24 10:18 爱上游戏开发 阅读(3847) 评论(0) 推荐(0) 编辑
摘要: 现在假设游戏中我们需要实现一个这样功能,按下鼠标左键,发射一颗子弹,3秒之后消失。在这个功能中,我们发射了上百上千发子弹,就需要实例化生成上百上千次。这时候,我们就需要使用对象池这个概念,每次实例化生成一个子弹对象后,三秒钟后不销毁(不执行destroy),而是将其将其隐藏(SetActive(fa 阅读全文
posted @ 2018-02-24 09:38 爱上游戏开发 阅读(366) 评论(0) 推荐(0) 编辑
摘要: 1.Lua中有8个基本类型分别为:nil、boolean、number、string、userdata、function、thread和table。 2.pairs 和 ipairs区别 pairs: 迭代 table,可以遍历表中所有的 key 可以返回 nil ipairs: 迭代数组,不能返回 阅读全文
posted @ 2018-02-22 14:58 爱上游戏开发 阅读(385) 评论(0) 推荐(0) 编辑
摘要: 简介:首先介绍一下,为什么博主要选择OPPO的SDK接入呢,因为OPPO的SDK接入是目前博主发现最简单的SDK。所以,博主选择OPPO,带领大家接SDK从入门到精通 工作准备: 1.环境配置(SDK,JDK,Unity,eclipse的ADT) 2.资源下载(直接去OPPO开发者平台https:/ 阅读全文
posted @ 2018-02-07 09:51 爱上游戏开发 阅读(6355) 评论(0) 推荐(0) 编辑
摘要: 首先介绍一点关于Android与unity通信的知识: 完成通信主要靠unity中的class.jar包(在unity的安装目录下)。 在unity中调用android的方法: jo.call("方法名"[,参数名]) 其中[]代表可有可无。 在endroid中调用unityu的方法: 导入clas 阅读全文
posted @ 2018-02-06 18:27 爱上游戏开发 阅读(14242) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using MySql.Data.MySqlClient;namespace 阅读全文
posted @ 2017-11-21 20:41 爱上游戏开发 阅读(306) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using MySql.Data.MySqlClient;namespace 阅读全文
posted @ 2017-11-21 20:32 爱上游戏开发 阅读(164) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using MySql.Data.MySqlClient;namespace 阅读全文
posted @ 2017-11-21 20:25 爱上游戏开发 阅读(235) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using MySql.Data.MySqlClient;namespace 阅读全文
posted @ 2017-11-21 17:39 爱上游戏开发 阅读(416) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Net.Sockets;using System.N 阅读全文
posted @ 2017-11-21 17:37 爱上游戏开发 阅读(179) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 15 下一页
 >>>转载请注明出处