Skip to content

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

License

Notifications You must be signed in to change notification settings

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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •