The GameStorage class is used to manage game data storage space.
It provides methods to connect to, retrieve instances of, and destroy data storage spaces.
Connects to the specified data storage space, creating a new one if it does not exist.
This space can only be used in the local map; other maps (e.g., sub-maps) cannot access it, thus avoiding global pollution.
Connects to the specified data storage space, creating a new one if it does not exist.
This data storage space is jointly maintained by the main map and sub-maps.
Zh
GameStorage 类用于管理游戏数据存储空间。 它提供了连接数据存储空间、获取数据存储空间实例、销毁数据存储空间等方法。
En
The GameStorage class is used to manage game data storage space. It provides methods to connect to, retrieve instances of, and destroy data storage spaces.