How can I switch between prefab variants in runtime.
I don't want to instantiate variants, I just want to have a reference of each variant and change it like a state.
I should be an option I could not found it. I will reduce time of creating states significantly or it can be used with a state design pattern.
Please if you know a solution to not change every parameter of the gameobject by script let me know.
↧