百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
G

Game-Development-Patterns-with-Unity-2021-Second-Edition

> 编程语言
开源

《使用 Unity 2021 进行游戏开发模式 - 第二版》,由 Packt 出版

198 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

《使用 Unity 2021 进行游戏开发模式 - 第二版》,由 Packt 出版

Game Development Patterns with Unity 2021-Second Edition

This is the code repository for Game Development Patterns with Unity 2021-Second Edition, published by Packt.

Explore practical game development using industry design patterns and best practices in Unity and C#

What is this book about?

Unity has a particular coding model and architecture that requires knowledge of common software design patterns. This means that to be able to optimally code a game in Unity in the same way you do in other engines, you'll have to adapt to programming techniques including design patterns.

This book covers the following exciting features:

  • Structure your Unity code using industry-standard development patterns to make it look professional
  • Identify the right patterns for implementing specific game mechanics or features
  • Develop configurable core game mechanics and ingredients that can be modified without writing a single line of code
  • Review practical OOP techniques and learn how they're used in the context of a Unity project
  • Build unique game development systems such as a level editor

If you feel this book is for you, get your copy today!

Instructions and Navigations

All of the code is organized into folders. For example, Chapter05.

The code will look like the following:

using UnityEngine;

namespace Chapter.State
{
    public class BikeStopState : MonoBehaviour, IBikeState
    {
        private BikeController _bikeController; 
        
        public void Handle(BikeController bikeController)
        {
            if (!_bikeController)
                _bikeController = bikeController;

            _bikeController.CurrentSpeed = 0;
        }
    }
}

Following is what you need for this book: This book is for intermediate-level Unity game developers who are looking to figure out industry standards in building Unity games. The book assumes knowledge of the game engine and programming in the C# language. This book won't be suitable for you if you're only just starting your journey toward becoming a professional game programmer.

With the following software and hardware list you can run all code files present in the book (Chapter 1-16).

Software and Hardware List

Chapter Software required OS required
1-16 Unity 2021.2.0 Windows, Mac OS X, and Linux (Any)

We also provide a PDF file that has color images of the screenshots/diagrams used in this book. Click here to download it.

Code in Action

Click on the following link to see the Code in Action:

YouTube

Related products

  • Unity 2020 Virtual Reality Projects [Packt] [Amazon]

  • Unity 2020 Mobile Game Development [Packt] [Amazon]

Get to Know the Author

David Baron is a game developer with over 15 years of experience in the industry. He has worked for some of the top AAA, mobile, and indie game studios in Montreal, Canada. He has a skill set that includes programming, design, and 3D art. As a programmer, he has worked on a multitude of games for various platforms, including virtual reality, mobile, and consoles

Other books by the author

  • Hands-On Game Development Patterns with Unity 2019

Download a free PDF

If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost. Simply click on the link to claim your free PDF.

https://packt.link/free-ebook/9781800200814

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

C#

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言