| | |
| | | m_FightPower.text = model.GetTreasureFightPower(treasure.id, false).ToString();
|
| | | }
|
| | |
|
| | | switch ((TreasureCategory)config.Category)
|
| | | {
|
| | | case TreasureCategory.Fairy:
|
| | | case TreasureCategory.Human:
|
| | | m_UnlockTip.text = Language.Get("TreasureCanAwake");
|
| | | break;
|
| | | case TreasureCategory.Demon:
|
| | | m_UnlockTip.text = Language.Get("TreasureAwaked");
|
| | | break;
|
| | | }
|
| | |
|
| | | var instance = UIUtility.CreateWidget("TreasureUnlockFlyObject_1", "TreasureUnlockFlyObject_1");
|
| | | unlockFlyObject1 = instance.GetComponent<FunctionUnlockFlyObject>();
|
| | | Transform parent = (treasureStage != null && treasureStage.unlockType == TreasureStageUnlock.Skill) && treasure.id != 101
|