void OnDestroy() { obj = transform.parent.GetComponent <ObjectScript>(); obj.split(this.transform); }
void OnDestroy() { obj = transform.parent.GetComponent<ObjectScript>(); obj.split (this.transform); }