摘要:
保存按钮和加载按钮的实现 注册两个按钮 二进制方法存储 using System.Collections; using System.Collections.Generic; using UnityEngine; using System.IO; using System.Runtime.Seria 阅读全文
摘要:
新建脚本 using System.Collections; using System.Collections.Generic; using UnityEngine; [System.Serializable] public class Save { public List<int> livingT 阅读全文
摘要:
设置每一组target怪物的编号 TargetManager //18.设置target编号 public int targetPosition; 设置每一个怪物的编号 MonsterManager //13.设置怪物的编号 public int monsterType; 赋值 四个怪物 设置 us 阅读全文
摘要:
存储背景音乐开关的状态 using System.Collections; using System.Collections.Generic; using UnityEngine; //2.获得UI using UnityEngine.UI; public class UIManager : Mon 阅读全文
摘要:
得到背景音乐选框 赋值 赋值 using System.Collections; using System.Collections.Generic; using UnityEngine; //2.获得UI using UnityEngine.UI; public class UIManager : 阅读全文
摘要:
添加组件 选择文件 设置循环 给手枪添加音效 子弹和怪物碰撞 添加第二个音效 手枪开火 using System.Collections; using System.Collections.Generic; using UnityEngine; public class GunManager : M 阅读全文
摘要:
菜单出来时 枪不能旋转 游戏需要暂停 创建空物体控制所有的游戏状态 创建脚本 using System.Collections; using System.Collections.Generic; using UnityEngine; public class GameManager : MonoB 阅读全文