PcoWSkbVqDnWTu_dm2ix
Collapse Sidebar

GetDataStore

This method returns a GlobalDataStore by name/scope. Subsequent calls to this method with the same name/scope will return the same object.

Parameters

Name Type Default Description
global

Returns

Return Type Summary

Code Samples


Individual Player Data Stores

This code sample features a simple way to work with per-player data stores called “Stats” and “Resources.”


Data Store Game Config

This code sample uses data stores to read/write/listen to a global configuration value. It uses a defensive coding style so potential data store errors will not cause issues.