Skip to content

FAQ & Common Issues

Alex Neargarder edited this page Jul 1, 2025 · 6 revisions

General

How do I save settings between game sessions?

BroMaker provides the [SaveableSetting] attribute which you can set on any serializable static variable in a class that inherits from CustomHero. Variables with this attribute will automatically be loaded when the mod starts up, and automatically saved when you press "Save" in the Unity Mod Manager window or when the game shutdowns. If you force close the game the settings may not be saved however.

If you want to display these options and allow users to change them, you can use the UIOptions() method

Example:

[SaveableSetting]
public static bool doubleTapSwitch = true;

Sprites

Projectiles

Clone this wiki locally