// Use this for initialization void Awake() { loopScrollRect = GetComponent <LoopScrollRect>(); loopScrollRect.AddListenerOnReturn(OnCellReturned); loopScrollRect.AddListenerOnData(OnCellData); }