| | |
| | | using Snxxz.UI;
|
| | | using System;
|
| | | using System.Collections;
|
| | | using System.Collections.Generic;
|
| | | using TableConfig;
|
| | | using UnityEngine;
|
| | |
| | | protected override void OnAfterOpen()
|
| | | {
|
| | | this.transform.SetAsLastSibling();
|
| | | StartCoroutine(SetOffestPos());
|
| | | }
|
| | |
|
| | | protected override void OnPreClose()
|
| | |
| | | }
|
| | | }
|
| | |
|
| | | private IEnumerator SetOffestPos()
|
| | | {
|
| | | yield return null;
|
| | | if (curThirdType != 0)
|
| | | {
|
| | | cellCtrl.JumpIndex(curThirdType*50, 0, EnhancedUI.EnhancedScroller.EnhancedScroller.TweenType.immediate);
|
| | | }
|
| | | }
|
| | | private void RefreshCell(ScrollerDataType type, CellView cell)
|
| | | {
|
| | | Image icon = cell.transform.Find("BtnIcon").GetComponent<Image>();
|