using UnityEngine; using System.Collections; using System.Collections.Generic; public class SelectedObjs { public static List<GameObject> gameObjs = new List<GameObject>();//把可单选的对象保存在gameObjs数组里 public static GameObject selectedObj = null;//记录单选选中的游戏对象(除消防员以外的所有游戏对象) public static List<GameObject> characters = new List<GameObject>();//把可框选的对象(消防员)保存在characters数组里 public static List<GameObject> selectedCharacters = new List<GameObject>();//记录 单选/框选/组选 选中的消防员 }