private void CreateSurface(List <BattleCommand> presetList)
        {
            _listCommandSurface  = new List <UICommandSurface>();
            _listICommandSurface = new List <IUICommandSurface>();
            int num = 0;

            foreach (BattleCommand preset in presetList)
            {
                _listCommandSurface.Add(UICommandSurface.Instantiate(((Component)_prefabCommandSurface).GetComponent <UICommandSurface>(), base.transform, _listCommandSurfacePos[num] + _strParams.surfaceInitPosOffs, num, preset, ChkAllSurfaceSet));
                _listICommandSurface.Add(_listCommandSurface[num]);
                num++;
            }
        }
        private void CreateSurface(List <BattleCommand> presetList)
        {
            this._listCommandSurface  = new List <UICommandSurface>();
            this._listICommandSurface = new List <IUICommandSurface>();
            int num = 0;

            using (List <BattleCommand> .Enumerator enumerator = presetList.GetEnumerator())
            {
                while (enumerator.MoveNext())
                {
                    BattleCommand current = enumerator.get_Current();
                    this._listCommandSurface.Add(UICommandSurface.Instantiate(this._prefabCommandSurface.GetComponent <UICommandSurface>(), base.get_transform(), this._listCommandSurfacePos.get_Item(num) + this._strParams.surfaceInitPosOffs, num, current, new Action(this.ChkAllSurfaceSet)));
                    this._listICommandSurface.Add(this._listCommandSurface.get_Item(num));
                    num++;
                }
            }
        }