A Unity plugin for importing and using Google Sheets data directly in your project.
- Client ID:
719221271002-rea8uo12490hvi20a7968jefet8jb9pt.apps.googleusercontent.com - Client Secret:
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
-
Grant Access Permission
Ensure access is granted to the email address of anyone who needs to use this system.
-
Configure Google Sheet Integration
Add the client ID and secret to the Google Sheet scriptable object.
Create a data structure that matches your Google Sheet columns:
[CreateAssetMenu(fileName = "ExampleConfig", menuName = "Game/ExampleConfig", order = 0)]
public class ExampleConfig : ScriptableObject
{
// Reference to the sheet data
public SheetData<DataEntry> entryData;
public void Test()
{
// Access data from the sheet
var value = entryData.data[0].valueA;
}
}
[Serializable]
public struct DataEntry
{
public int id;
public int valueA;
public int[] values;
public string name;
public float multiplier;
public ItemSet.ItemPath item;
public Sprite sprite;
public ItemSet.ItemPath[] items;
}







