- Home /
Question by
dCalle · Oct 22, 2021 at 10:14 AM ·
prefabutility
how do i figure out if a gameobject is nested in a prefab?
Cant figure it out. is the only solution really a scene.name/scene.path comparison? I can't believe that non of the Is...XYZ triggers. Is there any documentation on that?
code.png
(35.9 kB)
nested.png
(8.6 kB)
Comment
Your answer
Follow this Question
Related Questions
Is there a way to prevent non-prefab objects from being linked in the inspector? 0 Answers
How exactly are prefabs tagged with PrefabAssetType enums? 0 Answers
Can anyone help with creating Prefabs for procedural meshes 1 Answer
Does my script have a memory leak ? 0 Answers
cannot load GameObject Prefabs using Resources.Load in Android 0 Answers