示例#1
0
        public override void Init()
        {
            base.Init();

            Stage = UITool.FindUIGameObject("StageList").GetComponent <Dropdown>();

            m_GameObjects = new List <GameObject>();

            map = new List <Dictionary <int, LevelUnitStates> >(Stage.options.Count);

            map.Add(new Dictionary <int, LevelUnitStates>());
            map.Add(new Dictionary <int, LevelUnitStates>());
            map.Add(new Dictionary <int, LevelUnitStates>());
        }