| | |
| | | void DisplayBase()
|
| | | {
|
| | | var config = HazyRegionConfig.Get(incidentId);
|
| | | m_DepletionPoint.text = string.Format("消耗体力: ", config.point);
|
| | | m_DepletionPoint.text = string.Format("消耗体力: {0}", config.point);
|
| | | m_IncidentTitle.text = config.name;
|
| | | m_Icon.SetSprite(config.PortraitID);
|
| | | m_Icon.SetNativeSize();
|
| | |
| | |
|
| | | void DisplayBoss()
|
| | | {
|
| | | m_ContainerBoss.gameObject.SetActive(incidentType == HazyRegionIncidentType.Boss);
|
| | | m_ContainerBoss.gameObject.SetActive(incidentType == HazyRegionIncidentType.DemonKing);
|
| | | var config = HazyRegionConfig.Get(incidentId);
|
| | | if (incidentType == HazyRegionIncidentType.Boss)
|
| | | if (incidentType == HazyRegionIncidentType.DemonKing)
|
| | | {
|
| | | var npcConfig = NPCConfig.Get(config.npcId);
|
| | | m_BossName.text = npcConfig.charName;
|