Quantcast
Channel: Questions in topic: "state machine"
Viewing all articles
Browse latest Browse all 42

How can I switch between prefab variants in runtime.

$
0
0
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.

Viewing all articles
Browse latest Browse all 42

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>