/Unity-5.x-Game-Development-Blueprints

Code Repository for Unity 5.x Game Development Blueprints, published by Packt

Primary LanguageC#MIT LicenseMIT

GitHub issues GitHub forks GitHub stars GitHub license

#Unity 5.x Game Development Blueprints

This is the code repository for Unity 5.x Game Development Blueprints, published by Packt. It contains all the supporting project files necessary to work through the book from start to finish.

##Instructions and Navigation

we will work within the Unity 3D game engine, which you can download from here The projects have been created using version 5.3.4f1 but should work with minimal changes for future versions. For the sake of simplicity, we will assume that you are working on a Windows-powered computer. Although Unity allows you to code in either C#, Boo, or UnityScript, for this book, we will be using C#.

The commands and instructions will look like the following:

public void ButtonClicked()
{
	controller.Cash -= cost;
	switch (itemType)
	{
		case ItemType.ClickPower:
			controller.cashPerClick += increaseAmount;
		break;
		case ItemType.PerSecondIncrease:
			controller.CashPerSecond += increaseAmount;
		break;
	}
	qty++;
	qtyText.text = qty.ToString();
}

##Related Entity Framework Products: