示例#1
0
    void OnHidePanel(GameObject go)
    {
        UIPanelBase panel = transform.GetComponentInParent <UIPanelBase>();

        if (panel != null)
        {
            panel.HideSelf();
        }
    }