Book Image

Learning C# by Developing Games with Unity

By : Daniel Wise
Book Image

Learning C# by Developing Games with Unity

By: Daniel Wise

Overview of this book

<p>Building games using Unity 3D has been very exciting for developers. Sharing that game with your friends and learning C# along the way and can be even more rewarding</p> <p>You will get acquainted with basic working information on how to get started with C# 7 and its latest features to create exciting games with help of Unity 5. From here, you can then Implement these features to develop a Flappy Bird application. Once you have developed your first application and gained expertise then you can now use some more features of C# and Unity to create a 2D version of Space Shooter Application and then develop a First-Person Shooter Application in 3D and enjoy its effects. Moving forward you will explore Object oriented Programming to simplify your codes and finally sharing your games with your loved ones.</p> <p>Along the way you will learn topics ranging from basic to intermediate concepts and create 3 games of your own. You will amaze yourself as you create fun games all while learning more about C# and game development.</p> <h1>Style and Approach</h1> <p>A step by step guide using humor and the author's vast knowledge of game development using C#.</p>
Table of Contents (7 chapters)
Chapter 3
Creating a Flappy Bird Game
Content Locked
Section 6
Restarting the Game, Player Victory, and Using OnClick Methods
Take a look at the Unity SceneManagement namespace. We will control the way player click buttons now using OnClick listeners and also add text when the player wins. - Use the SceneManagement namespace to restart our game - Edit our scripts to use OnClick listeners for when the player clicks a button - Add in victory text for when the player hits the right barrier