protected virtual void OnAction(ActionType actionType, UIScrollListParent <Model, View> calledObject, View actionChild) { if (this.mUIScrollListParentAction != null) { this.mUIScrollListParentAction(actionType, calledObject, actionChild); } }
private bool OnCheck(CheckType checkType, UIScrollListParent <Model, View> calledObject, Model checkChild) { if (this.mUIScrollListParentCheck != null) { return(this.mUIScrollListParentCheck(checkType, calledObject, checkChild)); } return(this.mDefaultClickable); }
private void OnDestroy() { bool flag = DOTween.IsTweening(this); if (flag) { DOTween.Kill(this, false); } this.Models = null; this.ViewsDefaultLocalPosition = null; this.Views = null; this.ViewFocus = (View)((object)null); this.mPrefab_UIScrollListChild = (View)((object)null); this.mUIDisplaySwipeEventRegion = null; this.mGridContaints = null; this.mUIScrollListParentAction = null; this.mUIScrollListParentCheck = null; this.mKeyController = null; }
public void SetOnUIScrollListParentAction(UIScrollListParent <Model, View> .UIScrollListParentAction method) { this.mUIScrollListParentAction = method; }
public void SetOnUIScrollListParentCheck(UIScrollListParent <Model, View> .UIScrollListParentCheck method) { this.mUIScrollListParentCheck = method; }