public IEnumerator AddItem() { yield return(new WaitForSeconds(1)); allItem = GetComponentInParent <AllItems>(); allItem.AddGameobject(gameObject); }