using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class SharePanel : MonoBehaviour { public Button downloadBtn; public Button wechatBtn; public Button friendBtn; public GameObject sharepanel; public GameObject friendPanel; // Start is called before the first frame update void Start() { } // Update is called once per frame void Update() { } public void SetSharePanel() { transform.gameObject.SetActive(false); friendPanel.SetActive(true); } public void ClickWechatBtn() { } public void ClickDownLoadBtn() { } public void ClickFriendBtn() { } }