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

PrefabStageUtility.GetPrefabStage

切换到手册
public static Experimental.SceneManagement.PrefabStage GetPrefabStage (GameObject gameObject);

参数

gameObject 要检查的游戏对象。

返回

PrefabStage 包含游戏对象的预制件阶段。

描述

获取包含给定游戏对象的预制件阶段。