Example #1
0
        protected override void OnDestroy()
        {
            base.OnDestroy();

            ScrollRect = null;
            _Pool?.Clear();
            InitItemCallBack        = null;
            ClickItemCallBack       = null;
            ClickItemButtonCallBack = null;
        }
Example #2
0
    protected override void OnDestroy()
    {
        base.OnDestroy();

        _ScrollRect = null;
        if (_Pool != null)
        {
            _Pool.Clear();
        }

        this.InitItemCallBack = null;

        this.ClickItemCallBack = null;

        ClickItemButtonCallBack = null;
    }