
Unity
Super_Mc2
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Transform.RotateAround
方法参数如下:public void RotateAround(Vector3 point, Vector3 axis, float angle);point:旋转轴中某个点;axis:旋转轴向量;angle:角速度样例:using UnityEngine;using System.Collections;public class ExampleClass :原创 2015-05-04 15:25:44 · 2066 阅读 · 0 评论 -
按钮的监听事件系统
继续学习,我相信大家在做NGUI开发的时候处理事件都会用到UIEventListener,那么UGUI中怎么办呢?先看UGUI的事件有那些吧。Supported EventsThe Eventsystem supports a number of events, and they can be customised further in user custom user writt转载 2015-05-04 17:58:30 · 783 阅读 · 0 评论 -
Unity中利用UGUI添加滑动页面和滑动条
当页面内容太多时我们使用滑动条控制页面显示内容滚动显示,那么如何实现呢?首先,为了方便管理,我们先创建一个Panel,用来存放滑动页和滑动条,然后在Panel里面创建要滚动显示的内容,如Text、Image等,若希望创建带背景的Text,则可以创建一个Image,在Image中创建Text。然后给Image添加一个Scroll RectContent:想原创 2015-05-06 09:17:43 · 13425 阅读 · 0 评论