📌  相关文章
📜  统一脚本检测是否处于预制版本模式 - C# 代码示例

📅  最后修改于: 2022-03-11 14:49:13.649000             🧑  作者: Mango

代码示例1
using UnityEditor;
using UnityEditor.Experimental.SceneManagement;

if (PrefabStageUtility.GetCurrentPrefabStage() == null) {}
// If null it mean you are not in prefab editing mode