Exemple #1
0
 protected virtual void OnAction(ActionType actionType, UIScrollListParent <Model, View> calledObject, View actionChild)
 {
     if (this.mUIScrollListParentAction != null)
     {
         this.mUIScrollListParentAction(actionType, calledObject, actionChild);
     }
 }
Exemple #2
0
 private bool OnCheck(CheckType checkType, UIScrollListParent <Model, View> calledObject, Model checkChild)
 {
     if (this.mUIScrollListParentCheck != null)
     {
         return(this.mUIScrollListParentCheck(checkType, calledObject, checkChild));
     }
     return(this.mDefaultClickable);
 }
Exemple #3
0
        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;
        }
Exemple #4
0
 public void SetOnUIScrollListParentAction(UIScrollListParent <Model, View> .UIScrollListParentAction method)
 {
     this.mUIScrollListParentAction = method;
 }
Exemple #5
0
 public void SetOnUIScrollListParentCheck(UIScrollListParent <Model, View> .UIScrollListParentCheck method)
 {
     this.mUIScrollListParentCheck = method;
 }