Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

ScrollRect.UpdatePrevData

protected void UpdatePrevData();

Description

Helper function to update the previous data fields on a ScrollRect. Call this before you change data in the ScrollRect.