热门

最新

红包

立Flag

投票

同城

我的

发布
qq_64473156
启丽一把球顿
4 年前
trueqq_64473156

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class new1 : MonoBehaviour
{
// Start is called before the first frame update
public GameObject m,l,r;
private void Start()
{
m.SetActive(true);
l.SetActive(false);
r.SetActive(false);
}
public void lOnClick()
{
m.SetActive(false);
l.SetActive(true);
}
public void rOnClick()
{
m.SetActive(false);
r.SetActive(true);
}
public void CloseOnClick()
{
l.SetActive(false);
r.SetActive(false);
m.SetActive(true);
}

}

CSDN App 扫码分享
分享
评论
点赞
打赏
  • 复制链接
  • 举报
下一条:
1
立即登录