public void Attach(Transform actor) { //var info = transform.FindChild("Inventory"); //if (info == null) //{ // Debug.LogError("Inventory object needs to have child object with name 'Inventory'"); // return; //} GameObjectUtility.AttachToParent(actor, this.owner, AttachTo.ToString(), transform.localPosition, transform.localRotation); }