using UnityEngine; public class closethis : MonoBehaviour { void Start() { this.transform.parent.gameObject.SetActive(false); } }