public override void OnDestroyModule() { base.OnDestroyModule(); m_controller = null; m_datas = null; }
protected void OnScrollInit(ScrollRect rect, GameObject resource, eScrollPattern patternType) { m_controller = new ScrollViewController<T>(); m_controller.OnInit(rect, patternType == eScrollPattern.Horizontal ? new Vector2(Spacing, 0.0f) : new Vector2(0.0f, Spacing), resource, patternType); }