| | |
| | | using Spine.Unity; |
| | | using System.Collections.Generic; |
| | | using UnityEngine; |
| | | using UnityEngine.UI; |
| | |
| | | [SerializeField] List<RotationTween> missionTweens = new List<RotationTween>();
|
| | | [SerializeField] Slider buyCountGiftSlider; |
| | | [SerializeField] Text buyCountGiftSliderText;
|
| | |
|
| | | [SerializeField] SkeletonGraphic skeletonGraphic;
|
| | | int roundType;
|
| | | int tabType; |
| | | int awardIndex; |
| | |
| | | return;
|
| | | int state = model.GetAwardState(roundType, awardIndex);
|
| | | imgFinish.SetActive(state == 2);
|
| | | skeletonGraphic.SetActive(state == 1);
|
| | | txtTitle.text = Language.Get(StringUtility.Contact("CycleHallMissionTitle", "_", round.AwardType, "_", round.AwardTypeValue), awardInfo.NeedValue);
|
| | | buyCountGiftSlider.value = playerInfo.CurValue / (float)awardInfo.NeedValue;
|
| | | buyCountGiftSliderText.text = string.Format("{0}/{1}", playerInfo.CurValue, awardInfo.NeedValue);
|