Quantcast
Channel: Questions in topic: "clone"
Viewing all articles
Browse latest Browse all 508

Instantiate(Cloning) gives no errors but just does not work

$
0
0
I'm working on a project in witch I need to Instantiate(clone) houses, I wrote this code: public GameObject House; void start() { Instantiate(House, transform.position, Quaternion.identity); } I dragged my house prefab into the public GameObject. This doesn't work, it give no errors, but it just does not spawn in a house. Please can anyone help me I got stuck with problem for quite some time. I looked up all over the internet but there are no answers for this.

Viewing all articles
Browse latest Browse all 508

Trending Articles



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