public void Initialize(ColosseumDeckData data) { this.deckData = data; MonsterIcon icon = MonsterIconFactory.CreateIcon(13); for (int i = 0; i < 6; i++) { this.listItemList[i].Initialize(data, MonsterIconFactory.Copy(icon)); } this.InitializeDeckInfo(); }
protected override void OnShowDialog() { base.SetTutorialAnyTime("anytime_second_tutorial_evolution_rootmap"); base.PartsTitle.SetTitle(StringMaster.GetString("EvolutionDiagramTitle")); this.monsterIconSource = MonsterIconFactory.CreateIcon(1); this.selectMonsterInfo.Initialize(); this.beforeList.Initialize(); this.afterList.Initialize(); this.UpdateSelectMonster(); this.UpdateViewList(); UI_EvolutionCharacterModelViewer component = base.gameObject.GetComponent <UI_EvolutionCharacterModelViewer>(); if (null != component) { component.Initialize(); } }
private bool SetMonsterIcon(string assetsValue, Transform parent, int iconSize, int depth, int monsterIconOption) { bool result = false; MonsterClientMaster monsterMasterByMonsterId = MonsterMaster.GetMonsterMasterByMonsterId(assetsValue); if (monsterMasterByMonsterId != null) { MonsterIcon monsterIcon = MonsterIconFactory.CreateIcon(monsterIconOption); if (monsterIcon != null) { monsterIcon.Initialize(parent, iconSize, depth); monsterIcon.Message.SetSortTextColor(Color.white); monsterIcon.SetMonsterImage(monsterMasterByMonsterId); result = true; } } return(result); }
public void Initialize() { this.monsterIconSource = MonsterIconFactory.CreateIcon(1); base.InitializeView(2); }
public void Initialize() { MonsterIcon icon = MonsterIconFactory.CreateIcon(76); this.Initialize(MonsterIconFactory.Copy(icon)); }