- Unity 3.x Game Development by Example Beginner's Guide
- Ryan Henson Creighton
- 159字
- 2021-04-02 18:34:07
Time for action – Camera mania
If you had a good time playing with all the light settings, you're going to lose your mind when you check out the camera! Cameras in 3D programs are simulations of how the light rays bend around from a single perspective point. 3D cameras can simulate many different lenses, focal lengths, and effects. For now, we're just going to ensure that our camera is adjusted properly so that we're all on the same page, but don't be afraid to goof around with the camera controls if you're dying to get into some trouble.
- In the Hierarchy panel, click to select the Main Camera Game Object. You'll notice you get a cool little Camera Preview picture-in-picture to show you what the camera "sees".
- In the Inspector panel, adjust the camera's position to X:0 Y:1 Z:-2.5. The paddle and ball should now be nicely framed in the Game view as shown in the following screenshot:
推薦閱讀
- 一步一步學Spring Boot 2:微服務項目實戰
- Oracle Exadata性能優化
- Java 9模塊化開發:核心原則與實踐
- Mastering Android Game Development
- The Professional ScrumMaster’s Handbook
- Qt5 C++ GUI Programming Cookbook
- Scala編程(第5版)
- INSTANT JQuery Flot Visual Data Analysis
- Building Clouds with Windows Azure Pack
- Visual FoxPro數據庫程序設計
- Instant AutoIt Scripting
- JavaScript實戰-JavaScript、jQuery、HTML5、Node.js實例大全(第2版)
- Unity3D游戲開發標準教程
- Spark Streaming技術內幕及源碼剖析
- Spark內核設計的藝術:架構設計與實現