Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Learning C# by Developing Games with Unity
  • Toc
  • feedback
Learning C# by Developing Games with Unity

Learning C# by Developing Games with Unity

By : Harrison Ferrone
4.4 (47)
close
Learning C# by Developing Games with Unity

Learning C# by Developing Games with Unity

4.4 (47)
By: Harrison Ferrone

Overview of this book

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 can help you as a new programmer! Harrison Ferrone, in this seventh edition of the bestselling series will take you through the building blocks of programming and the C# language from scratch while building a fun and playable game prototype in Unity. This book will teach you the fundamentals of OOPs, basic concepts of C#, and Unity engine with lots of code samples, exercises and tips to go beyond the book with your work. You will write C# scripts for simple game mechanics, perform procedural programming, and add complexity to your games by introducing intelligent enemies and damage-dealing projectiles. You will explore the fundamentals 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. Users can easily reference color versions of images by downloading them from the GitHub repository or the graphics bundle linked in the book.
Table of Contents (18 chapters)
close
15
Pop Quiz Answers
16
Other Books You May Enjoy
17
Index

Pop quiz—variables and methods

  1. What is the proper way to write a variable name in C#?
  2. How do you make a variable appear in Unity’s Inspector window?
  3. What are the four access modifiers available in C#?
  4. When are explicit conversions needed between types?
  5. What are the minimum requirements for defining a method?
  6. What is the purpose of the parentheses at the end of the method name?
  7. What does a return type of void mean in a method definition?
  8. How often is the Update() method called by Unity?

Don’t forget to check your answers against mine in the Pop Quiz Answers appendix to see how you did!

Join us on discord!

Read this book alongside other users, Unity game development experts and the author himself.

Ask questions, provide solutions to other readers, chat with the author via. Ask Me Anything sessions and much more.

Scan the QR code or visit the link to join the community.

https://packt...

bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete