更新时间:2021-06-24 16:01:11
coverpage
Title Page
Copyright and Credits
Hands-On Game Development Patterns with Unity 2019
www.PacktPub.com
Why subscribe?
Packt.com
Contributors
About the author
About the reviewers
Packt is searching for authors like you
Preface
Who this book is for
What this book covers
To get the most out of this book
Download the example code files
Download the color images
Code in Action
Conventions used
Get in touch
Reviews
Section 1: The Fundamentals
Unity Engine Architecture
Engine architectures
What are game engines?
Unity's architecture
Components
Scripting API
Summary
Further reading
Section 2: Sequencing Patterns
Game Loop and Update Method
Technical requirements
What makes a game run?
The main loop
It's all about timing
Update Method
Overview
Challenge
Solution
Unity's Update Method
Section 3: Creational Patterns
Prototype
An overview of the Prototype pattern
Benefits and drawbacks
Use case example
Code example
Exercise
The Factory Method
An overview of the Factory Method
Practice
Abstract Factory
An overview of the Abstract Factory
Practice exercise
Singleton
An overview of the Singleton pattern
Simple approach
Advanced approach
Section 4: Behavioral Patterns
Strategy
An overview of the Strategy pattern
Command
The basics of the Command pattern