-
Notifications
You must be signed in to change notification settings - Fork 0
FAQ & Common Issues
Alex Neargarder edited this page Jul 1, 2025
·
6 revisions
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;
If you have questions or need help with creating custom bros, you can join the Free Lives Discord Server and post your questions in the bf-mods channel.