Unity Panel open & close
2016-04-17 16:34
543 查看
Making a Popup and Closable Panel in Unity 5
script:public GameObject thePanel;
public open()
{
thePannel.SetActive(true);
}
public open()
{
thePannel.SetActive(false);
}
and add the up script to an Empty Object
add open/close button on the scene.
define open/close button onClick() function to call script's open/close function.
相关文章推荐
- Unity3d-Application设备读写目录
- Unity monodev环境搭建
- Unity-破解-Disunity、Unity Studio提取资源
- Unity.击球游戏
- Unity3D中的Coroutine详解
- Unity 使用 Stripping Level == Use micro mscorlib 导致 MD5.Create() 返回NULL
- Unity3D学习笔记(7)—— 击球游戏
- UNITY发布安卓APK的整体流程
- 安装UNITY4.3.6,提示SSL ERROR解决方法
- Unity iOS 互相调用
- Unity3D开发者快速上手Unreal Engine 4指南
- 万能游戏框架
- Unity API - C
- Unity API - B
- Unity3D学习日记(一)使用UGUI制作虚拟摇杆
- 【Unity闲谈】关于制作 Voxel(体素,3D像素)模型并导入Unity
- Unity3D学习步骤
- Unity3d的Mono编辑不了的问题
- [Unity热更新]tolua# & LuaFramework(八):更新下载(上)
- Unity Shaders and Effects Cookbook (3-6) 创建各向异性高光类型(Anisotropic) 模拟金属拉丝效果