using System.Collections.Generic; using System.Linq; using UnityEngine; using UnityEngine.UI; using Spine.Unity; using UIScriptBase; using TMPro; public partial class EventSandDigPanelLogic : BasePanel { private RectTransform _offset; private GameObject _root; private RectTransform _reward1; private RectTransform _reward2; private RectTransform _reward3; private RectTransform _reward4; private RectTransform _reward5; private RectTransform _finished; GameObject icon_ticket; private RectTransform _flyReward; private Image _bar; private Image _ticket; private Button _questionmark; private Button _supply; private Button _confirm; private Button _close; private TextMeshProUGUI _titleName; private TextMeshProUGUI _time; private TextMeshProUGUI _num; private Animator _Container; private void Awake() { _offset = GetCmp("root"); _root = GetObj("root"); _reward1 = GetCmp("root/title/bg_bar/layout_reward/Obj_reward1"); _reward2 = GetCmp("root/title/bg_bar/layout_reward/Obj_reward2"); _reward3 = GetCmp("root/title/bg_bar/layout_reward/Obj_reward3"); _reward4 = GetCmp("root/title/bg_bar/layout_reward/Obj_reward4"); _reward5 = GetCmp("root/title/bg_bar/layout_reward/Obj_reward5"); _finished = GetCmp("root/Obj_finished"); _flyReward = GetCmp("root/Obj_flyReward"); _bar = GetCmp("root/title/bg_bar/Img_bar"); icon_ticket = GetObj("root/icon_ticket"); _ticket = GetCmp("root/icon_ticket/Img_ticket"); _questionmark = GetCmp