Documentation

Unity Engine

Download Unity

Unity Engine

GetScene(in HierarchyNode)

Gets the Scene that corresponds to the specified HierarchyNode.
Read time 1 minuteLast updated 12 hours 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.