| | |
| | | /// <summary> |
| | | /// This is the base class that all cell views should derive from |
| | | /// </summary> |
| | | public class EnhancedScrollerCellView : WidgetBehavior |
| | | public class EnhancedScrollerCellView : MonoBehaviour |
| | | { |
| | | /// <summary> |
| | | /// The cellIdentifier is a unique string that allows the scroller |
| | |
| | | public virtual void RefreshCellView() { }//当主动调用EnhancedScrller类中RefreshActiveCellViews()方法时,会遍历当前处于Active状态的CellVeiw,并调用它们重写的这个方法 |
| | | //这个方法可以用于主动刷新当前处于Active状态的CellVeiw |
| | | |
| | | protected virtual void Awake() |
| | | { |
| | | InitWidgts(); |
| | | } |
| | | } |
| | | } |