Difference between revisions of "Trivia Quiz Kit Installing the kit"

From gamevanilla wiki
Jump to: navigation, search
(Import Trivia Quiz Kit into your project)
(Change the Scripting Runtime)
Line 10: Line 10:
 
== Change the Scripting Runtime ==
 
== Change the Scripting Runtime ==
  
Make sure the ''Scripting Runtime'' Version in your ''Player Settings'' is set to '''.NET 4.x Equivalent''' (this will require an editor restart).
+
Make sure the ''Scripting Runtime'' Version in your ''Player Settings'' is set to '''.NET 4.x Equivalent''' (this will require an editor restart) and the ''Api Compatibility Level'' is set to '''.NET 4.0'''.
  
 
== Import the TextMesh Pro package into your project ==
 
== Import the TextMesh Pro package into your project ==

Revision as of 07:39, 14 June 2018

Create a new Unity project

Open Unity (you will need to use Unity 2018.1.0 or higher) and create a new 2D project:

installation_new_project.png

Change the Scripting Runtime

Make sure the Scripting Runtime Version in your Player Settings is set to .NET 4.x Equivalent (this will require an editor restart) and the Api Compatibility Level is set to .NET 4.0.

Import the TextMesh Pro package into your project

Download the free TextMesh Pro package using the Package Manager (located in the Window/Package Manager menu). After the package is downloaded, make sure to select the Window/TextMesh Pro/Import TMP Essential Resources menu option in order to import all the needed resources.

Import Trivia Quiz Kit into your project

Download and import the Trivia Quiz Kit asset into your project. If all goes well, you should not have any errors on the console and you should be able to run the game by opening the Home scene and clicking on the Play now button. Make sure you have added all the scenes (located in the TriviaQuizKit/Scenes folder) to your build settings:

installation_build_settings.png

Please note that the Home scene always needs to be the first scene you run and also the first scene in your build settings, as it contains the code that initializes the entire game.