GameSim Package APIs

GameSimManager

The namespace Unity.Simulation.Games gives you access to GameSimManager, the primary class that you’ll be interacting with. It will facilitate both fetching the config for the simulation and using counters to track metrics.

Using Counters

As of 0.2.0-preview and above Counters no longer have to be instantiated. If a counter with the specified key is not found, it will be created.

The following APIs are provided for interacting with Counters:

Using Configs

In 0.2.0-preview and above, the following APIs are provided for fetching the config for the simulation run:

For more details, please see the implementation guide.

Last Updated May 5, 2020