8 using System.Collections;
10 namespace Valve.VR.InteractionSystem
20 oldParent = transform.parent;
21 transform.parent = null;
22 gameObject.name = oldParent.gameObject.name +
"." + gameObject.name;
29 if ( oldParent == null )
30 Object.Destroy( gameObject );
35 public Transform GetOldParent()