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