LanguageEnglish
  • C#
  • JS

Script language

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

This version of Unity is unsupported.
Experimental: this API is experimental and might be changed or removed in the future.

UQuery.QueryState<T0>.RebuildOn

public QueryState<T> RebuildOn(Experimental.UIElements.VisualElement element);

Parameters

elementThe element on which to apply the selection rules.

Returns

QueryState<T> A new QueryState with the same selection rules, applied on this element.

Description

Creates a new QueryState with the same selection rules, applied on another VisualElement.