Closed Aberro closed 4 years ago
This is just regular c# stuff, check Convert.ToFloat or Convert.ToInt32
Well, I've tried direct cast, but it didn't worked, and I didn't figured out what type it was.
cast will not always work in object type, because it can be anything. make value ToString() and use Convert class it's more reliable.
Yes, but much much worse from performance point of view (at least for string), unlike cast. Anyway, I've created this issue to ask to clarify such moment in docs, would it be convert, or cast, or anything.
Please add an example for Settings.AddSlider Method (Mod, Settings, Single, Single).
TODO (optional): How to cast setting value to float or int?
Help Topic: http://my-summer-car.ml/docs/html/M_MSCLoader_Settings_AddSlider_1.htm