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.Rebuild

public void Rebuild(UI.CanvasUpdate executing);

Parameters

executing The current step of the rendering CanvasUpdate cycle.

Description

Rebuilds the scroll rect data after initialization.

See CanvasUpdateRegistry for more details on the canvas update cycle.