using System.Collections; using System.Collections.Generic; using UnityEngine; public class InputWindowClose : BaseButton { public override void RespondFun() { transform.parent.GetComponent().NOFunction(); Destroy(transform.parent.gameObject); } }