摘要
针对如何利用Unity4.6提供的新一代UI功能进行图形用户界面开发问题,首先分析了新UI系统的主要特点和功能;其次介绍了各种核心控件包括画布、矩形工具和矩形变换工具的使用方法,重点分析了中枢点和锚点的用途;然后描述了可视化控件Panel、Text和Image,交互控件Buttom和Slider;最后通过实验将以上控件应用到一款游戏的图形用户界面开发中,取得了预期的效果。
Focusing on how to develop graph user interface(UI) using new UI system in Unity 4.6 ,its main characteristics and functionality were analyzed in detail first. Then various central controls were introduced, including canvas, rect tool and rect transform component. The uses of pivot and anchors in rect transform component were analyzed particularly. Then visual components including panel, text and image were described followed by interaction components such as button and slider. At last, graph user interface for a game was developed successfully using aforementioned UI elements by experiment and get expected result.
出处
《重庆航天职业技术学院学报》
2015年第3期50-54,共5页
Journal of Chongqing Aerospace Polytechnic
基金
重庆市项目博士后资助(项目编号:渝xm201325)