Documentation

Unity Engine

Unity Engine

GetScene(in HierarchyNode)

Gets the Scene that corresponds to the specified HierarchyNode.
Read time 1 minuteLast updated a month ago

Definition

GetScene(HierarchyNode)

public Scene GetScene(in HierarchyNode node)

Parameters

The HierarchyNode to get the Scene for.

Returns

Type

Description

SceneThe Scene that corresponds to the specified HierarchyNode.