Quantcast
Channel: Answers by "Mortoc"
Viewing all articles
Browse latest Browse all 73

Answer by Mortoc

$
0
0
Bug in your code. You probably want this: void Start () { GameObject newobj = new GameObject("Testing"); newobj.transform.parent = transform; // this transform, not the parent GameObject.Destroy(gameObject, 2); }

Viewing all articles
Browse latest Browse all 73

Trending Articles



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