目錄(128章)
倒序
- 封面
- 版權信息
- Credits
- About the Author
- About the Reviewer
- www.PacktPub.com
- Preface
- Chapter 1. Discovering Your Hidden Scripting Skills and Getting Your Environment Ready
- Prerequisite knowledge to use this book
- Dealing with scriptphobia
- Downloading Unity
- Teaching behavior to GameObjects
- C# documentation – where to find it? Do I need it at all?
- Working with C# script files
- Creating a C# script file
- Introducing the MonoDevelop code editor
- Instance? What is it?
- Summary
- Chapter 2. Introducing the Building Blocks for Unity Scripts
- Understanding what a variable is and what it does
- What is a method?
- Introducing the class
- The Start() Update() and Awake() methods and the execution order
- Components that communicate using dot syntax
- Making decisions in code
- Paper and pencil are powerful tools
- Summary
- Chapter 3. Getting into the Details of Variables
- Writing C# statements properly
- Understanding component properties in Unity's Inspector
- Changing a property's value in the Inspector panel
- Private variables
- Naming your variables properly
- Beginning variable names with lowercase
- Using multiword variable names
- Declaring a variable and its type
- Assigning values while declaring a variable
- Where you declare a variable is important
- Variable scope – determining where a variable can be used
- Summary
- Chapter 4. Getting into the Details of Methods
- Using methods in a script
- Naming methods properly
- Defining a method the right way
- Understanding parentheses – why are they there?
- Specifying a method's parameters
- Returning a value from a method
- Summary
- Chapter 5. Lists Arrays and Dictionaries
- What is an array?
- Storing items in the List
- List<T> versus arrays
- Retrieving the data from the Array or List<T>
- ArrayList
- Dictionaries
- Summary
- Chapter 6. Loops
- Introduction to loops
- The foreach loop
- The for loop
- The while loop
- while versus for loops
- Loops in statements
- Modulo
- Searching for data inside an array
- Breaking the loop
- Summary
- Chapter 7. Object a Container with Variables and Methods
- Working with objects is a class act
- Instantiating an object
- Bored yet?
- Using methods with objects
- Custom constructors
- Overloading
- Summary
- Chapter 8. Let's Make a Game! – From Idea to Development
- Your first game – avoiding the trap of the never-ending concept
- The idea
- Breaking a complex idea into smaller parts
- Jake on the mysterious planet – the feature list
- Target platform and resolution
- Target screen resolution
- Summary
- Chapter 9. Starting Your First Game
- Setting up a new Unity project for our game
- Preparing the player prefab
- PlayerController
- User input
- Animator
- Code
- Summary
- Chapter 10. Writing GameManager
- Gameplay loops
- Singleton class
- Starting the game
- Setting up input keys
- Using triggers
- Restarting the game
- Setting up the player starting position
- Code in this chapter
- Summary
- Chapter 11. The Game Level
- Generating levels versus designed levels
- Creating a copy of the level piece
- Instantiating
- Vector3
- Testing LevelGenerator
- Extending the level
- The code used in this chapter
- Summary
- Chapter 12. The User Interface
- Introducting the Unity UI
- Views
- Buttons
- Hiding and showing the Canvas
- Reference exceptions
- GameView
- The code in this chapter
- Summary
- Chapter 13. Collectables — What Next?
- Collectables
- The coin prefab
- High score and persisting data
- The Update function and UI values
- What next?
- The code in this chapter
- Summary
- Index 更新時間:2021-07-09 20:03:55
推薦閱讀
- MATLAB圖像處理超級學習手冊
- Java面向對象程序開發及實戰
- 機械工程師Python編程:入門、實戰與進階
- Python漫游數學王國:高等數學、線性代數、數理統計及運籌學
- Instant Debian:Build a Web Server
- Python語言科研繪圖與學術圖表繪制從入門到精通
- Learning Bootstrap 4(Second Edition)
- Unity Android Game Development by Example Beginner's Guide
- 黑莓(BlackBerry)開發從入門到精通
- Mastering Bootstrap 4
- 計算思維與Python編程
- OpenCV:Computer Vision Projects with Python
- Python從入門到項目實踐(超值版)
- Mastering Java 11
- μC/OS-III源碼分析筆記
- 移山之道:VSTS軟件開發指南
- Hands-On Design Patterns with Kotlin
- 分布式中間件技術實戰:Java版
- Unity 3D腳本編程與游戲開發
- 從零開始學Python程序設計
- Learning Highcharts
- Puppet Reporting and Monitoring
- 數據結構(C語言實現)
- 敏捷開發一千零一夜
- 小團隊構建大網站:中小研發團隊架構實踐
- SproutCore Web Application Development
- ODPS權威指南:阿里大數據平臺應用開發實踐
- C++編程入門指南(全2冊)
- 白話C語言
- Learn Python in 7 Days