title | nav_order |
---|---|
Getting Started |
1 |
After purchasing the package on Asset Store, you can import it into your project via Project Manager window. To see your Asset Store packages select Packages: My Assets in the Packages dropdown menu.
By default Game Tables package is located at the Assets/GameTables
directory. This directory has the following structure:
-
Example
This directory contains a showcase example. It contains all the content used in the example, including scripts, prefabs, tables and a demo scene. The Example directory may be freely removed from the project, it does not affect Game Tables functioning. For more information on the example see the Example section below.
-
Scripts
This directory contains Game Tables source code. All the code is put into separate assemblies.
-
ThirdParty
This directory contains third-party assemblies required by Game Tables. Here you also may find
LICENSES.txt
file that contains licensing information on all the used third-party products.
Game Tables package contains a showcase example that shows you a simplified way of how Game Tables may be used in game creation.
The entry point to the showcase is the Example/Example.unity
scene. If you open this scene and run the play mode, you'll see a simple top-down shooting game with blocking graphics. The key point is that all the essential gameplay parameters of this game are stored in spreadsheets. And there are two variants of game balance that may be easily applied to see changes in action.
In the Example folder you may see a set of assets whose names start from Balance_
. These assets are GameTable objects, each of which is set up to import data from a specific table:
Balance_Original_CSV
imports from theCSV/Balance_Original.csv
fileBalance_Alternative_CSV
imports from theCSV/Balance_Alternative.csv
fileBalance_Original_GoogleSheets
imports from the Balance_Original Google Sheets documentBalance_Alternative_GoogleSheets
imports from the Balance_Alternative Google Sheets document
By default the example has the Original balance variant applied. You may open either a CSV or GoogleSheets version with Alternative balance variant and click the Apply Game Table button in the Inspector. Then run the game again and see how the gameplay is changed.