_TheStrongestSnail/TheStrongestSnail/Assets/Scripts/Battle_Royale/SucceePanel.cs

46 lines
1.1 KiB
C#
Raw Normal View History

2024-11-13 02:03:11 +08:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using TMPro;
2024-11-13 02:03:11 +08:00
public class SucceePanel : BasePanel
{
public Button ReturnBtn;
public GameObject moveObject;
public static SucceePanel instance;
2024-11-16 02:05:07 +08:00
public GameObject bg;
public TextMeshProUGUI textSnailEggs;//<2F><>ţ<EFBFBD><C5A3><EFBFBD>ı<EFBFBD>
2024-11-13 02:03:11 +08:00
public override void Start()
{
instance = this;
base.Start();
ReturnBtn.onClick.AddListener(OnClickReBtn);
}
public void OnClickReBtn()
{
2024-11-13 10:44:34 +08:00
2024-11-13 02:03:11 +08:00
HidePanel();
}
public override void HidePanel()
{
base.HidePanel();
2024-11-13 10:44:34 +08:00
2024-11-13 18:01:18 +08:00
//BossContro.instance.ReturnParent();
MaskContro.instance.SetMask(false);
2024-11-13 02:03:11 +08:00
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ԭ<EFBFBD><D4AD><EFBFBD><EFBFBD>λ<EFBFBD><CEBB>
}
2024-11-13 18:01:18 +08:00
public override void ShowPanel()
{
base.ShowPanel();
2024-11-16 05:56:57 +08:00
//foreach (GameObject item in bg.GetComponent<AllHouseContro>().bossobj)
//{
// item.GetComponent<BossContro>().ReturnParent();
//}
2024-11-16 02:05:07 +08:00
//FailPanel.instance.dic[room_id].GetComponent<BossContro>().ReturnParent();
2024-11-13 18:01:18 +08:00
}
2024-11-13 02:03:11 +08:00
}