Version: 2018.3 (switch to 2019.1)
LanguageEnglish
  • C#
Experimental: this API is experimental and might be changed or removed in the future.

ScrollView.SetContents

public void SetContents(Experimental.UIElements.VisualElement contents);

Parameters

contentsThe element to display in this ScrollView

Description

Replaces the contentContainer with this element. The previous contents container will be removed the hierarchy

Did you find this page useful? Please give it a rating: