Closed Dimondheart closed 7 years ago
https://github.com/UnlimitedHugs/RimworldHugsLib/blob/master/Source/Settings/SettingHandle.cs#L89 It's a callback you can set to listen for changes to a specific handle. I can add some example code if it helps.
Yah, some example code would be helpful.
I must have somehow missed that when looking through the source, my bad.
Added the example code.
OnValueChanged appears to be part of SettingHandle according to the wiki, but I cannot seem to find it anywhere at all in the source code. Section in wiki Is this something from a previous version, or what?