Quantcast
Channel: Questions in topic: "parenting"
Viewing all articles
Browse latest Browse all 302

Why is parenting not working?

$
0
0
Hi, i have 2 cubes Test1 an Test2 and the Script is attached to Test2 but nothing happens. I tried so many things from the Forum but nothing worked for me, hope someone can help me with that. using UnityEngine; using System.Collections; public class ExampleClass : MonoBehaviour { void start() { GameObject test = GameObject.Find("Test1"); this.transform.parent = test.transform; } }

Viewing all articles
Browse latest Browse all 302

Trending Articles



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