Unity Engine documentationScript ReferenceUnityEditorPrefabAssetTypeNotAPrefabThe object being queried is not part of a Prefab at all.Read time 1 minuteLast updated 13 days agoDefinition Type: Field Namespace: UnityEditor Assembly: UnityEditor.CoreModule NotAPrefab = 0