Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


IsSelected(in HierarchyNode)

Determines if the specified node is selected.
Read time 1 minuteLast updated 13 days ago

Definition

  • Type: Method
  • Namespace: Unity.Hierarchy
  • Assembly: UnityEngine.HierarchyModule

IsSelected(HierarchyNode)

public bool IsSelected(in HierarchyNode node)

Parameters

The HierarchyNode to check if it is selected.

Returns

Type

Description

bool
true
if the specified node is selected;
false
otherwise.