_TheStrongestSnail/TheStrongestSnail/Assets/Scripts/LqUiScripts/PerSonalCenterPanel.cs

36 lines
779 B
C#
Raw Normal View History

2024-11-25 20:50:33 +08:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
2024-11-25 22:18:57 +08:00
using UnityEngine.UI;
2024-11-25 20:50:33 +08:00
public class PerSonalCenterPanel : MonoBehaviour
{
2024-11-25 22:18:57 +08:00
public Button invitefriendsBtn;
public GameObject invitefriendsPanel;
public GameObject editPanel;
2024-11-25 20:50:33 +08:00
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
}
2024-11-25 22:18:57 +08:00
public void SetInviteFriendsPanel()
{
invitefriendsPanel.gameObject.SetActive(true);
transform.gameObject.SetActive(false);
}
public void SetEditPanel()
{
editPanel.gameObject.SetActive(true);
}
public void SetPerSonalCenterPanel()
{
transform.gameObject.SetActive(false);
}
2024-11-25 20:50:33 +08:00
}