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

指導項目工作原理

您的工作空間就是瀏覽器中的雲桌面,無需下載

在分屏視頻中,您的授課教師會為您提供分步指導

常見問題

常見問題

還有其他問題嗎?請訪問 學生幫助中心