// Use this for initialization
	void Start () {
		parent = transform.parent.gameObject.GetComponent<LevelSelectUnit>();
	}
Example #2
0
 // Use this for initialization
 void Start()
 {
     parent = transform.parent.gameObject.GetComponent <LevelSelectUnit>();
 }