
Unity
文章平均质量分 71
CC_meng
这个作者很懒,什么都没留下…
展开
-
高通AR增强现实最新教程unity3d
高通AR增强现实最新教程 之前网上很多有关于高通AR增强现实的教程,教我们unity的龙哥跟我们说这方面的时候便去搜了搜,但是很不巧的是,这玩意在前几天刚刚更新了,所以。。。。。。。这应该是目前最新的高通AR增强现实的教程,嗯,也很全面。1. 还是跟原来一样,登录https://developer.vuforia.com/网站,去下载SDK原创 2015-03-03 22:34:34 · 3138 阅读 · 0 评论 -
C# Unity用AssetBundle加载本地资源 (1)
/// /// AssetBundle加载器 /// public class AssetBundleLoger { /// /// 更新文件下载目录 /// private const string StreamingAssetPath = "/StreamingAssets原创 2016-09-12 14:00:31 · 2072 阅读 · 0 评论 -
C# Unity WWW下载AssetBundle的。zip文件并解压到本地
#region WWW下载AssetBundle的资源 /// /// WWW下载AssetBundle的资源 /// /// /// public static bool UWWWLoad(string url) { try {原创 2016-09-12 13:58:00 · 3105 阅读 · 0 评论 -
C# 解压缩.zip文件
#region 解压缩文件 /// /// 解压缩文件 /// /// 压缩包文件名 /// 解压缩目标路径 public static void Decompress(string GzipFile, string targetPath) {原创 2016-09-12 13:51:40 · 572 阅读 · 0 评论 -
Unity C#根据路径读取图片并转换成byte
/// /// 根据路径读取图片并转换成byte /// /// /// public static byte[] ReadPNG(string path) { FileStream fileStream = new FileStream(path, FileMode.O原创 2016-08-31 10:58:39 · 4997 阅读 · 1 评论 -
Unity Http短连接
//需要发送的消息协议 WWW www_instance = new WWW(url, message); //时间函数单位毫秒 Stopwatch sw = new Stopwatch(); sw.Start(); byte[] ty = ne原创 2016-08-31 10:50:48 · 1672 阅读 · 0 评论 -
Unity-->实现物体的移动
单例using UnityEngine;using System.Collections; public class IsRun { private static readonly IsRun tf=new IsRun(); private IsRun() { }原创 2015-04-20 16:45:32 · 681 阅读 · 0 评论 -
Unity-->实现剪刀石头布的游戏
游戏:剪刀石头布实现功能:1、电脑随机出牌(剪刀石头布)2、玩家选择出牌(剪刀石头布)3、玩家没有出牌时,电脑变幻牌面; 玩家出牌后,电脑出牌,并停止变幻牌面3秒,期间玩家无法选择出牌4、玩家和电脑出牌后,电脑自动计分。[csharp] view plaincopyusing Unit原创 2015-03-27 16:54:23 · 1774 阅读 · 0 评论 -
Untiy--> C# 数组倒序存放输出
void Start () { int t; int j = 0; string s = ""; int [] aa = new int[10]{1,2,3,4,5,6,7,8,9,10}; for (int i=0; i<10; i++) { s+=aa[i]; } for (int i=9; i>aa.Length/2; i--) { t=原创 2015-03-05 08:29:25 · 1165 阅读 · 0 评论 -
Untiy-->C# 冒泡排序与不用第三个变量实现排序
using UnityEngine;using System.Collections;public class pppp : MonoBehaviour { public int[] a = {2,3,1,4,6,7,8,9,0}; // Use this for initialization void Start () { for(int j=0;j<a.Length;j++){原创 2015-03-05 09:10:12 · 853 阅读 · 0 评论 -
Unriy->C# 数组倒序存放
f原创 2015-03-04 23:45:20 · 788 阅读 · 0 评论 -
Unity AssetBundles打包
using System.IO;using UnityEditor;using UnityEngine;public class BuildAssetBundlesFromDirectoryALL{ [MenuItem("Assets/Create AssetBunldes ALL")] static void CreateAssetBunldesALL原创 2016-09-21 19:20:50 · 643 阅读 · 0 评论