Unity
爱吃苹果的小王同学
现在的努力程度,还差的远呢✔
展开
-
- Unity扩展
#Unity扩展一 在Unity菜单栏中添加选项1.必须再文件夹Editor脚本中写using System.Collections;using System.Collections.Generic;using UnityEngine;//引用命名空间using UnityEditor;public class EditorWin : EditorWindow{ st...原创 2018-10-15 20:12:21 · 129 阅读 · 0 评论 -
Unity扩展_小案例
题目要求1.在txt文件中读数据 并实例化对应游戏物体2.场景中物体数量固定为6个,每三秒消失一个,并实例化下一个,直到消失完.//AbsObj 类using System.Collections;using System.Collections.Generic;using UnityEngine;public abstract class AbsObj : MonoBehav...原创 2018-10-15 20:25:37 · 124 阅读 · 0 评论 -
Unity扩展之文件的读写
//========================================================// 描 述: 很高兴见到你!小王同学,又是精彩的一天,我们一起加油吧!^<>^// 作 者: 爱吃苹果的小王同学 // 时 间: 2018/10/16 15:24:54// 版 本: V 1.0 //=============================...原创 2018-10-16 19:03:46 · 368 阅读 · 0 评论 -
角色简单控制
//========================================================// 描 述: 很高兴见到你!小王同学,又是精彩的一天,我们一起加油吧!^<>^// 作 者: 爱吃苹果的小王同学 // 时 间: 2018/10/17 16:31:00// 版 本: V 1.0 //==============================...原创 2018-10-22 15:41:16 · 127 阅读 · 0 评论 -
相机跟随
//========================================================// 描 述: 很高兴见到你!小王同学,又是精彩的一天,我们一起加油吧!^<>^// 作 者: 爱吃苹果的小王同学 // 时 间: 2018/10/17 16:07:27// 版 本: V 1.0 //==============================...原创 2018-10-22 15:45:04 · 208 阅读 · 0 评论 -
AssetBundles简单应用
打包using System.Collections;using System.Collections.Generic;using UnityEngine;using UnityEditor;public class AssetsBundles : MonoBehaviour { [MenuItem("AssetBundleTools/BuildAB")] public s...原创 2018-11-01 14:42:34 · 186 阅读 · 0 评论 -
Xlua与C#(Unity)的相互读取
**一.读取lua文件using System.Collections;using System.Collections.Generic;using UnityEngine;using XLua;using System.IO;public class AutoLoader : MonoBehaviour { // Use this for initialization vo...原创 2018-12-12 14:49:05 · 1130 阅读 · 0 评论 -
Lua热更新(Unity)
一 配置环境1.从GitHub中下载xlua插件xlua下载地址2.将Asset下的子目录 拖到工程中3.将Tools文件夹拖到项目中与Assets同级4.将unity中的文件 拷贝到xlua中(unity中的文件)(拷贝到xlua中的文件)unity中出现这样就说明 配置好了Hotfix例子1.创建关联脚本using System.Collections;us...原创 2018-12-12 17:10:27 · 281 阅读 · 0 评论 -
Unity - 竖行文本逐字显示 - 适配RichText-(测试版)
Unity - 竖行文本逐字显示简单测了下 还可以效果:代码:using UnityEngine;using UnityEngine.UI;using System.Collections.Generic;using System.Text;using System.Collections;using System;using System.Text.RegularExpre...原创 2019-09-05 14:06:45 · 1120 阅读 · 4 评论