Answers for "unity editor detect if prefab mode"

C#
1

unity script detect if in prefab edition mode

using UnityEditor;
using UnityEditor.Experimental.SceneManagement;

if (PrefabStageUtility.GetCurrentPrefabStage() == null) {}
// If null it mean you are not in prefab editing mode
Posted by: Guest on May-20-2021

Code answers related to "unity editor detect if prefab mode"

C# Answers by Framework

Browse Popular Code Answers by Language