Learning C# by Developing Games with Unity 3D Beginner's Guide by 2013

Learning C# by Developing Games with Unity 3D Beginner's Guide by 2013

Author:2013
Language: eng
Format: epub
Publisher: Packt Publishing


Now the BeginState class file should look like the following screenshot, except for //Constructor on line 7 which I added as a visual aid:

Open StateManager in MonoDevelop, and make the following changes:

Add on line 2 using Assets.Code.States;.

Press Return/Enter so that line 3 is blank.

Add line 6 private BeginState activeState;.

In the Start() method code block, add line 10 activeState = new BeginState();.

Add line 11 Debug.Log("This object is of type: " + activeState);.

Save the file.

The StateManager class file should look like the following screenshot:



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.