Learning C# by Developing Games with Unity 6 - Eighth Edition: Get to grips with coding in C# and build simple 3D games in Unity from the ground up
暫譯: 透過 Unity 6 開發遊戲學習 C# - 第八版:掌握 C# 編程並從零開始建立簡單的 3D 遊戲

Ferrone, Harrison, Horner, Justin

  • 出版商: Packt Publishing
  • 出版日期: 2025-10-20
  • 售價: $1,650
  • 貴賓價: 9.5$1,568
  • 語言: 英文
  • 頁數: 504
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1805808710
  • ISBN-13: 9781805808718
  • 相關分類: C#
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

Learn C# programming from scratch using the all-new Unity 6 as a fun and accessible entry point with this updated edition of the bestselling series

Key Features:

- Build a strong foundation in programming concepts and the C# language

- Become confident in the fundamentals and features of Unity in line with Unity 6

- Create a playable game prototype in Unity―a working first-person shooter game prototype

- Get With Your Book: PDF Copy, AI Assistant, and Next-Gen Reader Free

Book Description:

It's the ability to write custom C# scripts for behaviors and game mechanics that really takes Unity the extra mile. That's where this book will help you as a new programmer!

Harrison Ferrone, in this eighth edition of the bestselling series, will take you through the core concepts of programming and the C# language from scratch, while building an engaging and playable game prototype in Unity 6.

You'll get to grips with the fundamentals of object-oriented programming (OOP) and the Unity engine with lots of code samples, exercises, and tips to go beyond the book with your work. You'll write C# scripts for simple game mechanics, perform procedural programming, request live data from the web, and add complexity to your games by introducing intelligent enemies and damage-dealing projectiles. You'll also explore the underlying mechanics of Unity game development, including game design, lighting basics, player movement, camera controls, collisions, and more, with every passing chapter.

Note: The screenshots in the book display the Unity Editor in full-screen mode for a comprehensive view. You can easily reference color versions of images by downloading them from the GitHub repository or the graphics bundle linked in the book.

What You Will Learn:

- Master programming fundamentals by breaking them into simple, digestible parts

- Understand OOP concepts through clear explanations of C# code samples

- Follow simple steps and examples to create and implement C# scripts in Unity 6

- Divide your code into pluggable building blocks using interfaces, abstract classes, and class extensions

- Grasp game design document basics and then move on to blocking out your level geometry, adding lighting, and a simple object animation

- Create basic game mechanics, such as player controllers and shooting projectiles, using C#

Who this book is for:

If you're a developer, programmer, hobbyist, or anyone who wants to get started with Unity and C# programming in a fun and engaging way, this book is for you. You'll still be able to follow along if you don't have programming experience, but knowing the basics will help you get the most out of this book.

Table of Contents

- Getting to Know Your Environment

- The Building Blocks of Programming

- Diving into Variables, Types, and Methods

- Control Flow and Collection Types

- Working with Classes, Structs, and OOP

- Getting Your Hands Dirty with Unity

- Movement, Camera Controls, and Collisions

- Scripting Game Mechanics

- Basic AI and Enemy Behavior

- Revisiting Types, Methods, and Classes

- Specialized Collection Types and LINQ

- Saving, Loading, and Serializing Data

- Connecting to the World Wide Web

- Exploring Generics, Delegates, and Beyond

商品描述(中文翻譯)

學習 C# 程式設計從零開始,使用全新的 Unity 6 作為有趣且易於接觸的入門點,這是暢銷系列的更新版。

主要特色:
- 建立堅實的程式設計概念和 C# 語言基礎
- 了解 Unity 6 的基本原理和功能,增強自信
- 在 Unity 中創建可玩的遊戲原型——一個可運作的第一人稱射擊遊戲原型
- 獲得隨書附贈的資源:PDF 版本、AI 助手和下一代閱讀器免費

書籍描述:
撰寫自訂的 C# 腳本以實現行為和遊戲機制,這正是讓 Unity 更加出色的能力。這本書將幫助你成為一名新程式設計師!

Harrison Ferrone 在這本暢銷系列的第八版中,將帶你從零開始了解程式設計和 C# 語言的核心概念,同時在 Unity 6 中建立一個引人入勝且可玩的遊戲原型。

你將掌握物件導向程式設計(OOP)的基本原理和 Unity 引擎,並透過大量的程式碼範例、練習和提示,讓你的作品超越書本。你將為簡單的遊戲機制撰寫 C# 腳本,執行程序式編程,從網路請求即時數據,並透過引入智能敵人和造成傷害的彈藥來增加遊戲的複雜性。隨著每一章的進展,你還將探索 Unity 遊戲開發的基本機制,包括遊戲設計、燈光基礎、玩家移動、相機控制、碰撞等。

注意:書中的截圖顯示 Unity 編輯器的全螢幕模式,以便提供全面的視圖。你可以輕鬆地從 GitHub 倉庫或書中鏈接的圖形包下載圖像的彩色版本。

你將學到的內容:
- 通過將程式設計基礎分解為簡單、易於消化的部分來掌握程式設計基礎
- 通過清晰的 C# 程式碼範例理解 OOP 概念
- 按照簡單的步驟和範例在 Unity 6 中創建和實現 C# 腳本
- 使用介面、抽象類別和類別擴展將你的程式碼劃分為可插拔的構建塊
- 理解遊戲設計文檔的基本概念,然後開始規劃你的關卡幾何形狀、添加燈光和簡單的物件動畫
- 使用 C# 創建基本的遊戲機制,例如玩家控制器和射擊彈藥

本書適合誰:
如果你是開發者、程式設計師、愛好者,或任何想以有趣且引人入勝的方式開始學習 Unity 和 C# 程式設計的人,這本書適合你。如果你沒有程式設計經驗,仍然可以跟著學習,但了解基本知識將幫助你充分利用這本書。

目錄:
- 認識你的環境
- 程式設計的基本構建塊
- 深入了解變數、類型和方法
- 控制流程和集合類型
- 使用類別、結構和 OOP
- 在 Unity 中動手實作
- 移動、相機控制和碰撞
- 編寫遊戲機制
- 基本 AI 和敵人行為
- 重新審視類型、方法和類別
- 專用集合類型和 LINQ
- 儲存、加載和序列化數據
- 連接到全球資訊網
- 探索泛型、委派及其他