Skip to content

Unity package of ScriptableObjects for building static data info tables. Generates enum source code for easy access of table entry ids.

License

Notifications You must be signed in to change notification settings

coryleach/UnityInfoTables

Repository files navigation

Welcome to com.gameframe.infotables 👋

Version Twitter: coryleach

This is a library for building and maintaining ScriptableObject data tables
Each entry in a table is its own ScriptableObject.
Each entry in the table has an ID which can be exported as an enum.
The exported enum can then be used as a key to get the entry from the table.

The InfoTableProvider class can be used to globally provide a reference to all the info tables in the project
InfoTableProvider has a serialized reference to all InfoTables so all info tables in the provider will be loaded

Quick Package Install

Using UnityPackageManager (for Unity 2019.3 or later)

Open the package manager window (menu: Window > Package Manager)
Select "Add package from git URL...", fill in the pop-up with the following link:
https://github.com/coryleach/UnityInfoTables.git#1.0.13

Using UnityPackageManager (for Unity 2018.3 or later)

Find the manifest.json file in the Packages folder of your project and edit it to look like this:

{
  "dependencies": {
    "com.gameframe.infotables": "https://github.com/coryleach/UnityInfoTables.git#1.0.13",
    ...
  },
}

Author

👤 Cory Leach

Show your support

Give a ⭐️ if this project helped you!


This README was generated with ❤️ by readme-md-generator