2024-12-07 22:30:19 +08:00
|
|
|
using System.Collections;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
public class CombatPanel : MonoBehaviour
|
|
|
|
{
|
2024-12-10 17:46:37 +08:00
|
|
|
[SerializeField] private RogenPanel _rogenPanel;
|
|
|
|
|
|
|
|
public void StartPanel()
|
|
|
|
{
|
|
|
|
_rogenPanel.gameObject.SetActive(false);
|
|
|
|
}
|
|
|
|
|
|
|
|
public void OpenRogenPanel()
|
|
|
|
{
|
|
|
|
_rogenPanel.gameObject.SetActive(true);
|
|
|
|
_rogenPanel.InitData();
|
|
|
|
}
|
|
|
|
|
|
|
|
public void CloseRogenPanel()
|
|
|
|
{
|
|
|
|
_rogenPanel.gameObject.SetActive(false);
|
|
|
|
}
|
2024-12-07 22:30:19 +08:00
|
|
|
}
|