- Home /
Question by
KevinHagen · Mar 23, 2019 at 01:15 AM ·
prefabsprefab-instance
Referencing the currrently edited prefab in prefab edit-mode
Hey guys!
I have two questions regarding the new prefab workflow:
1) Is there any way to know that I am currently in prefab edit-mode?
2) If I edit a prefab in prefab-edit mode, and it only consists of gameObjects (so its the base prefab), this gameObject does not have a corresponding object, because it is a gameObject, no prefabInstance. But I need the reference from that object to the prefab asset. Is it possible to get is somehow?
Thanks!
Comment