摘要: /* ######### ############ ############# ## ########### ... 阅读全文
posted @ 2019-03-08 10:21 一只默默奮鬥的程序菌 阅读(559) 评论(0) 推荐(0) 编辑
摘要: 1.先创建Asset序列化(单个文件夹所在文件夹路径,会遍历这个文件夹所有的Prefab,所有的Prefab名字不能重复,必须保证名字得唯一性),配置好ConfigAB表 2. 打包加载 AssetBundle (注意以上2个脚本需要放在Editor文件夹里面) 3、完善一下AB配置表类 4.先工具 阅读全文
posted @ 2018-12-17 17:42 一只默默奮鬥的程序菌 阅读(330) 评论(0) 推荐(0) 编辑
摘要: public static class AudioClipExtensions { /// /// 创建说话者特定的剪辑。 /// /// 演讲者特定的剪辑。 /// 原始剪辑。 /// 数量的渠道 /// 目标通道。 public static AudioClip CreateSpeakerSpecificClip(this ... 阅读全文
posted @ 2018-09-11 17:22 一只默默奮鬥的程序菌 阅读(156) 评论(0) 推荐(0) 编辑
摘要: using System.Collections.Generic; using UnityEngine; public class CrowAI : MonoBehaviour { //当前速度 public float speed = 10; public Vector3 velocity = Vector3.forward; private Vector3... 阅读全文
posted @ 2018-03-21 17:31 一只默默奮鬥的程序菌 阅读(395) 评论(0) 推荐(0) 编辑
摘要: /* ######### ############ ############# ## ########### ... 阅读全文
posted @ 2018-01-03 17:00 一只默默奮鬥的程序菌 阅读(143) 评论(0) 推荐(0) 编辑
摘要: /* ######### ############ ############# ## ########### ... 阅读全文
posted @ 2017-12-25 18:43 一只默默奮鬥的程序菌 阅读(95) 评论(0) 推荐(0) 编辑
摘要: /* ######### ############ ############# ## ########### ... 阅读全文
posted @ 2017-12-20 18:25 一只默默奮鬥的程序菌 阅读(184) 评论(0) 推荐(0) 编辑
摘要: using System.Collections; using System.Collections.Generic; using UnityEngine; public class Text06 : MonoBehaviour { void Start () { Dictionary dic = new Dictionary(); dic.Add(1, "... 阅读全文
posted @ 2017-12-20 17:15 一只默默奮鬥的程序菌 阅读(164) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections; using System.Diagnostics; using UnityEngine; /// /// 装箱 拆箱 /// public class Text05 : MonoBehaviour { void Start () { int n = 10; object ... 阅读全文
posted @ 2017-12-20 14:54 一只默默奮鬥的程序菌 阅读(115) 评论(0) 推荐(0) 编辑
摘要: using System.IO; using UnityEngine; /// /// 使用文件流来实现多媒体文件复制 /// public class Text03 : MonoBehaviour { void Start () { //原来路径 string source = @"C:\Users\Administrator.PC-201709... 阅读全文
posted @ 2017-12-20 11:00 一只默默奮鬥的程序菌 阅读(194) 评论(0) 推荐(0) 编辑