Version: 2023.2

PrefabStage.openedFromInstanceRoot

切换到手册
public GameObject openedFromInstanceRoot ;

描述

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.