CGCookie – Creating a UI Speedometer
Title: CGCookie – Creating a UI Speedometer
Info:
This Unity tutorial will go over how to create and script a UI speedometer for our motorcycle. The motorcycle may look familiar as it was taken from the fantastic Blender course by Chris Kuhn found here: Modeling a Motorcycle. I wanted to bring this into Unity to add a digital speedometer modeled off some real world digital speedometers found in cars currently out there.
We’ll use the UI system in Unity 4.6 to mimic a bar being filled to represent the speed increasing along with text elements to update our actual speed value in real time. C# will be used to control the increase and decrease in speed. It’s fairly simple and straightforward but looks really cool and can be applied to a lot of different game mechanics.
By the end of this video you should know how to create the image above.
CGCookie — — 创建 UI 车速表
标题: CGCookie — — 创建 UI 车速表
信息:
这个统一的教程将复习如何创建和编写脚本我们摩托车的 UI 速度计。摩托车可能眼熟,因为它采取从神奇的搅拌器课程的 Chris 库恩在这里找到: 建模一辆摩托车。我想把这个变成统一添加建模掉发现在车中目前已那里一些现实世界数字里程表数字里程表。
我们将在统一 4.6 使用 UI 系统来模拟一个酒吧正在填补代表和文本元素更新在真正的时间我们实际速度值上升速度。C# 将用于控制增加和减少的速度。它是相当简单和直接,但看起来真的很酷和可以应用于很多不同的博弈机制。
年底的这段视频,你应该知道如何创建上面的图像。