Create a Basic Mini-Map in Unity

提供方
Coursera Project Network
在此指导项目中,您将:

Configure a second camera to display a mini-map.

Create a Render Texture to display a camera's image.

Understand and apply the concept of Layers.

Clock2 hours
Beginner初级
Cloud无需下载
Video分屏视频
Comment Dots英语(English)
Laptop仅限桌面

In this one-hour, project-based course, you'll learn how to create a simple mini-map. You'll learn how to set up a secondary camera and configure it to display an overhead view of the scene and follow the player. You'll also learn how to use layers to display different objects on each active camera and use masks to give the mini-map a circular shape. The guided project will introduce you to the following Unity concepts: - Camera - Layers - Masks This course makes use of the scene created in Baking Lights for Better Performance in Unity and the scripts created in Create Keyboard Movement Mechanics with C# in Unity and Create Simple Enemy Behaviour with C# in Unity (Intro to AI). These compliment this guided project and, although not prerequisites, are recommended for a more well-rounded understanding of the concepts presented herein. Note: This course works best for learners who are based in the North America region. We’re currently working on providing the same experience in other regions.

您要培养的技能

  • Video-game Development
  • C sharp (C#) Programming Language
  • Unity 3D
  • Unity
  • Application development

分步进行学习

在与您的工作区一起在分屏中播放的视频中,您的授课教师将指导您完成每个步骤:

  1. Introduction and License Activation

  2. Set Up a Second Camera

  3. Create a Render Texture and the Map Image

  4. Configure a MiniMap Layer and Configure Culling Masks

  5. Add a Mask to the Mini Map to Turn it into a Circle

  6. Write Camera Follow and Zoom Scripts

指导项目工作原理

您的工作空间就是浏览器中的云桌面,无需下载

在分屏视频中,您的授课教师会为您提供分步指导

常见问题

常见问题

还有其他问题吗?请访问 学生帮助中心