摘要: 下载地址: 链接:https://pan.baidu.com/s/1dIJhiHl_JFhouHhi3XC22g 提取码:mi2n 阅读全文
posted @ 2020-11-03 19:52 merveilleux 阅读(129) 评论(0) 推荐(0) 编辑
摘要: 下载地址: 链接:https://pan.baidu.com/s/1Npxu80BeEduZnU3f9Q1v4A 提取码:4dtv 阅读全文
posted @ 2020-11-03 19:46 merveilleux 阅读(1809) 评论(0) 推荐(0) 编辑
摘要: 最近在做一个AR项目,然后就研究了一下AR,发现kudan会比高通的效果好! 还是新人,如有不足,欢迎指出! 下面进入正题! 想要让Unity可以打包Apk,需要先下载一个JDK7以上(包括7)的版本。 (安装时一定要记住你的安装路径) 下面是我分享的连接: http://pan.baidu.com 阅读全文
posted @ 2017-06-14 18:22 merveilleux 阅读(944) 评论(0) 推荐(1) 编辑
摘要: 生成不重复的随机数: function class:random(n) local a = n local array = {} for i = 1 , a do array[i] = i end for i = 1 , a do local j = math.random(a - i + 1) + 阅读全文
posted @ 2017-06-14 18:09 merveilleux 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 2017年1月3号,周二,晴。 //设置时间 float tempTime = 5; void OnGUI(){ //设置显示 GUI.Label (new Rect(100,100,100,100),GetTime(tempTime)); } void Update (){ tempTime -= 阅读全文
posted @ 2017-01-03 14:18 merveilleux 阅读(221) 评论(0) 推荐(0) 编辑
摘要: using System.IO; //获取系统时间并命名相片名 System.DateTime now = System.DateTime.Now; string times = now.ToString (); times = times.Trim (); times = times.Replac 阅读全文
posted @ 2016-12-12 08:40 merveilleux 阅读(2581) 评论(0) 推荐(0) 编辑
摘要: 直接帮到物体的身上就可以了 using UnityEngine; using System.Collections;using System.IO;public class hehe : MonoBehaviour{ private Touch oldTouch1; //上次触摸点1(手指1) pr 阅读全文
posted @ 2016-12-06 18:46 merveilleux 阅读(5629) 评论(0) 推荐(0) 编辑
摘要: 虽然在很早以前就有大神分享了鼠标双击事件,但我还是想整合一下。 废话不多说,用代码说话! 1、此方法用于随意双击 2、此方法用于UI 但需要拖。。。 新人发帖,先从最简单的开始,不喜勿喷! 阅读全文
posted @ 2016-10-20 09:55 merveilleux 阅读(4357) 评论(0) 推荐(0) 编辑