Experimental: this API is experimental and might be changed or removed in the future.

PrefabStage.openedFromInstanceRoot

Switch to Manual
public GameObject openedFromInstanceRoot ;

Description

The root of the Prefab instance that you opened Prefab Mode through.

This is null if you did not open the Prefab Stage via a Prefab instance.