Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#
Experimental: this API is experimental and might be changed or removed in the future.

ISelectable.IsSelected

Declaration

public bool IsSelected(UIElements.VisualElement selectionContainer);

Parameters

selectionContainer Container in which the selection is tracked.

Returns

bool True if selected. False otherwise.

Description

Check if element is selected.