_TheStrongestSnail/TheStrongestSnail/Assets/Scripts/LqUiScripts/PerSonalCenterPanel.cs
2024-11-25 22:18:57 +08:00

36 lines
779 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class PerSonalCenterPanel : MonoBehaviour
{
public Button invitefriendsBtn;
public GameObject invitefriendsPanel;
public GameObject editPanel;
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
}
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);
}
}