예제 #1
0
 public bool Init(CommandPhaseModel model, Predicate <List <BattleCommand> > onDeideBattleStart)
 {
     _nSelectIndex = 0;
     base.transform.localPosition = _vCommandBoxPos;
     _actDecideBattleStart        = onDeideBattleStart;
     CreateSurface(model.GetPresetCommand());
     _uiBattleStartBtn.Init(_listCommandSurface.Count, DecideStartBattle);
     _uiBattleStartBtn.transform.localPosition = _vBattleStartBtnPos;
     _uiBattleStartBtn.transform.localScaleZero();
     _listICommandSurface.Add(_uiBattleStartBtn);
     panel.alpha = 1f;
     ChkAllSurfaceSet();
     _clsBackgrounds.Init();
     return(true);
 }