Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

PrefabStage.openedFromInstanceRoot

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.