- Home /
Question by
Eidern · Oct 10, 2021 at 10:45 AM ·
instantiate
Instantiate with prefab values from inspector
Hello,
So far when I instantiate my prefabs, I always wrote code to set it to the wanted rotation and so on.
I was just wondering if there is a way to instantiate an object with the values contained in my inspector? it would make my work (a very little) easier
I mean if in my asset resources folder, the game object got a transform rotation of (90,0,0), is there a way to instantiate with this prefab values ?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613044019im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Checking if object intersects? 1 Answer
Loading Prefab from Script 1 Answer
can't parent an Object, a second time. 0 Answers
Setting the variable on a GameObject to be instantiated (not yet existent) cs and js 2 Answers
Spawning an array 1 Answer