Using SysInfo Toggle
Last updated
Last updated
The SysInfo feature that comes with this module has two modes, real time fps and memory statistics, and statis hardware information. In the UI Components example, these are toggled using a Conditon that is included, and the Toggle Action.
To do this, simply create a GC Trigger of a type of your choice. We have used the Input Key Q.
Firstly we added the Action from the previous section to display the Canvas. The we added the Condition "Check Info Bool" to toggle the SysInfo display.
This could also be achieved using GC Variables to keep track of which display is showing, but the SysInfo component comes with its own Bool to toggle the information showing.
Using the dropdown in the Toggle SysInfo Action, you can switch between displaying the Hardware configuration and the realtime frame and memory statistics.
Finally, you can either set another trigger to close the canvas, or as we have done in the Example, only show the canvas for a specific amount of time.