| | |
| | | return m_LvTextOutline; |
| | | } |
| | | } |
| | | |
| | | Button m_StarBtn; |
| | | Button starBtn |
| | | { |
| | | get |
| | | { |
| | | if (m_StarBtn == null) |
| | | { |
| | | m_StarBtn = this.transform.GetComponent<Button>("Container_HeroShow/layout/layout/stars"); |
| | | } |
| | | return m_StarBtn; |
| | | } |
| | | } |
| | | |
| | | |
| | | void Awake() |
| | | { |
| | | LoadPrefab(); |
| | |
| | | heroLVOutline.colorType = awakelv == 0 ? QualityTextColType.None : QualityTextColType.red; |
| | | } |
| | | |
| | | starBtn.AddListener(() => |
| | | { |
| | | SmallTipWin.showText = Language.Get("HeroGift14", star); |
| | | SmallTipWin.worldPos = CameraManager.uiCamera.ScreenToWorldPoint(Input.mousePosition); |
| | | UIManager.Instance.OpenWindow<SmallTipWin>(); |
| | | }); |
| | | } |
| | | |
| | | GameObject cellContainer; |