- Home /
How can I make a diferent inspector for a component in a prefab and in the variants?
I have a gameobject that I use as a model prefab and using it i generate variants for the scene (Editor mode).
I want to see all variables available when i am editing the model but for the variants only a few values.
How can I make it?
I tryied with https://docs.unity3d.com/ScriptReference/PrefabUtility.IsPartOfVariantPrefab.html but always returns false.
Thanks in advance
Comment
Your answer
Follow this Question
Related Questions
2D Animation does not start 1 Answer
Prefab instance overrides and builds 1 Answer
Activating only one of many prefabs with the same tag 1 Answer
Instantiated Object turning off scripts and audio source?(Solved) 1 Answer
Trying to make a dynamic error logging class, running into some trouble 1 Answer