CG数据库 >> CGCookie – Creating Floating Damage Points in Unity

CGCookie – Creating Floating Damage Points in Unity的图片1

CGCookie – Creating Floating Damage Points in Unity

Title: CGCookie – Creating Floating Damage Points in Unity

Info:

In this Unity 4.6 tutorial we’ll take a look at how to create RPG style damage points. Using the new UI system we’ll animate and script UI text and images to display once a hit is registered on our zombie character.

Using colliders, tags and a raycast we’ll be able to detect when we’ve hit a specific area of our character. Each area will have specific damage points that will show with a special “critical” image that will flash when we hit the head.

CGCookie — — 创建浮动损伤点的统一

标题: CGCookie — — 创建浮动损伤点的统一

信息:

在此统一 4.6 教程中我们将看看如何创建 RPG 风格破坏点。使用新的 UI 系统我们会动画和脚本用户界面文本和图像来显示一次击中在上注册了我们僵尸字符。

使用碰撞器、 标签和 raycast,我们将能够检测当我们碰到我们的性格的特定区域。每个区将有具体的损害点将显示,一个特别的"关键"形象,将 flash 时我们击中头部。