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

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.