protected override void OnDestroy() { base.OnDestroy(); ScrollRect = null; _Pool?.Clear(); InitItemCallBack = null; ClickItemCallBack = null; ClickItemButtonCallBack = null; }
protected override void OnDestroy() { base.OnDestroy(); _ScrollRect = null; if (_Pool != null) { _Pool.Clear(); } this.InitItemCallBack = null; this.ClickItemCallBack = null; ClickItemButtonCallBack = null; }