Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
public void ScrollToRecord(CellData record) { if (record != null && record.RectTransformData != null && record.RectTransformData.parent != null) { Vector3 unitWorldPos = record.RectTransformData.parent .TransformPoint(record.RectTransformData.anchoredPosition); // NOTE: FIX THIS TO NOT USE SIZE DELTA NOW WE HAVE ANCHORED -> WORLD TRANSFORM ScrollRect.ScrollToChild(unitWorldPos, record.RectTransformData.sizeDelta, record.RectTransformData.pivot); } }