33 lines
622 B
C#
33 lines
622 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
public class SucceePanel : BasePanel
|
|
{
|
|
public Button ReturnBtn;
|
|
public GameObject moveObject;
|
|
public static SucceePanel instance;
|
|
public override void Start()
|
|
{
|
|
instance = this;
|
|
base.Start();
|
|
ReturnBtn.onClick.AddListener(OnClickReBtn);
|
|
}
|
|
|
|
|
|
public void OnClickReBtn()
|
|
{
|
|
|
|
HidePanel();
|
|
}
|
|
public override void HidePanel()
|
|
{
|
|
base.HidePanel();
|
|
|
|
BossContro.instance.ReturnParent();
|
|
|
|
//¶¼·µ»ØÔÀ´µÄλÖÃ
|
|
}
|
|
}
|