UGUI的下拉菜单
2016-05-26 15:28
387 查看
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); } } }
相关文章推荐
- iOS开发之窥探UICollectionViewController(五) --一款炫酷的图片浏览组件
- iOS开发之窥探UICollectionViewController(四) --一款功能强大的自定义瀑布流
- iOS开发之窥探UICollectionViewController(三) --使用UICollectionView自定义瀑布流
- iOS开发之窥探UICollectionViewController(一) -- Ready Your CollectionViewController
- priority_queue的使用
- Please use the /MD switch for _AFXDLL builds错误
- iOS开发之使用Storyboard预览UI在不同屏幕上的运行效果
- iOS开发之多线程技术(NSThread、OperationQueue、GCD)
- UIScrollView无法滚动,可能是以下原因
- 在Java中连接字符串时是使用+号还是使用StringBuilder
- UISearchController偏移
- 设置按钮等文本,得用[Button setTitleColor:textColor forState:UIControlStateNormal]
- Could not add target because the target \"D:\\01-Work\\qixue\\dbjk\\dbjk.pbt\" could not be created.
- (转)How To Kill runaway processes After Terminating Concurrent Request
- Druid连接池简介和配置
- iOS开发UI篇—popoverController简单介绍
- iOS开发UI篇—popoverController使用注意
- UIPopOverController的使用问题
- 轻量web服务器开发日记06-request结构体的实现
- 使用 Swagger UI 与 Swashbuckle 创建 RESTful Web API 帮助文件