| | |
| | | using System; |
| | | using System.Collections; |
| | | using System.Collections.Generic; |
| | | using Cysharp.Threading.Tasks.Triggers; |
| | | using UnityEngine; |
| | | |
| | | public class ChallengeTabWin : UIBase |
| | |
| | | DisplayBoneFieldButton(); |
| | | } |
| | | |
| | | |
| | | public void DisplayBoneFieldButton() |
| | | { |
| | | int index = 2; |
| | |
| | | if (!BoneFieldManager.Instance.TryGetShowSweepCount(out int showSweepMaxCount, out int showrealRemainSweepCount)) |
| | | return; |
| | | string countInfo = UIHelper.AppendColor(showrealRemainSweepCount > 0 ? TextColType.Green : TextColType.Red, Language.Get("Challenge01", showrealRemainSweepCount)); |
| | | string lockInfo = !isLock ? FuncOpen.Instance.GetErrorTip(funcId) : string.Empty; |
| | | string lockInfo = !isLock ? Language.Get("Challenge02") : string.Empty; |
| | | btnBoneField.Display(index, redpointId, isLock, countInfo, lockInfo, () => |
| | | { |
| | | if (!FuncOpen.Instance.IsFuncOpen(funcId, true)) |