public virtual void Init(SfbInternal fileBrowser) { this.fileBrowser = fileBrowser; clickStopwatch = Stopwatch.StartNew(); scrollRect = GetComponentInChildren<ScrollRect>(); parentDraggable = GetComponentInParent<SfbDraggable>(); if (scrollRect.verticalScrollbar != null) { scrollRect.verticalScrollbar.onValueChanged.AddListener(StartShowOnScreenEntries); } }
public virtual void Init(SfbInternal fileBrowser) { this.fileBrowser = fileBrowser; clickStopwatch = Stopwatch.StartNew(); scrollRect = GetComponentInChildren <ScrollRect>(); parentDraggable = GetComponentInParent <SfbDraggable>(); if (scrollRect.verticalScrollbar != null) { scrollRect.verticalScrollbar.onValueChanged.AddListener(StartShowOnScreenEntries); } }