Test3.cs 643 Bytes
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Test3 : UIBase
{
    // Start is called before the first frame update
    void Start()
    {
    }

    // Update is called once per frame
    void Update()
    {
    }

    public void ShowLog()
    {
        Debug.Log("this is UI: " + gameObject.name);
    }

    protected override void CloseComplete()
    {
        base.CloseComplete();
        Debug.Log("关闭完成:  " + gameObject.name);
    }

    protected override void OpenComplete()
    {
        base.OpenComplete();
        Debug.Log("打开完成:  " + gameObject.name);
    }
}