Sample overview

This sample shows a little simulation where enemies try to enter through the door.

All the simulation state is tracked through labels in Status group.

<aside> ☝

Try enter playmode and play a little with it

</aside>

image.png

Generally creating dynamic labels is pretty simple, first you create it and cache the reference to a variable

image.png

And then whenever your state updates also refresh the labels

image.png

All the relevant to debug panel content is in GameStateTrackingContentProviderExample.cs, other scripts is related to simulation itself.