Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Adding/Initializing Gum

Once you have a working project on your desired platform, you can add Gum. Select your platform below for instructions on adding Gum to your project.

Code samples on other pages work on every runtime, so they leave out your game class and the GumUI.Initialize call. A comment on the first line of each part says where it goes: // Initialize code runs once right after GumUI.Initialize, // Update code runs every frame, // Draw code runs every frame where your game draws, and // Class scope code holds fields and methods. Samples write the per-frame calls as GumUI.Update(gameTime); and GumUI.Draw();, and your runtime's page below shows where each part goes.

Last updated

Was this helpful?