Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetScene(in HierarchyNode)

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