using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class btuchufa : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
/// <summary>
/// ONMOUSEENTERPROLIS the specified obj.
/// </summary>
/// <param name="obj">Object.</param>
public void ProList(GameObject obj)
{
if (obj.activeSelf == false)
{
obj.SetActive(true);
}
else
{
obj.SetActive(false);
}
}
}
UGUI的下拉菜单
最新推荐文章于 2025-01-08 15:31:55 发布