5367 【前端】【1.4】聚魂功能开发(副本目标提示修改)
| | |
| | | GetTargetInfo(2, desc, targetValue, step, config.targetType3, npcId); |
| | | } |
| | | |
| | | descText.text = config.Info.Length > step ? config.Info[step] : config.Info[0]; |
| | | switch (dateMapId)
|
| | | {
|
| | | case GatherSoulDungeonModel.DUNGEON_MAPID:
|
| | | var weel = Mathf.Clamp(model.mission.wheel, 1, int.MaxValue) - 1;
|
| | | descText.text = config.Info.Length > weel ? config.Info[weel] : config.Info[0];
|
| | | break;
|
| | | default:
|
| | | descText.text = config.Info.Length > step ? config.Info[step] : config.Info[0];
|
| | | break;
|
| | | } |
| | | } |
| | | |
| | | private void GetTargetInfo(int _index,string desc,int _targetValue,int _targetStep,int _targetType,int npcId=0) |