uniqueFranky Posted August 18, 2024 Share Posted August 18, 2024 I'm new in C# and Unity, and I've made a simple mod to change the output power of energy generators, by adding a SingleSlideControl which allows user to specify his expected WattRating. It currently seems to work correctly, but I've encountered with two questions: 1. When selecting the energy generator, the detailed description of emitting power stays unchanged, but in circuit view, the emitting power is set to the value specified by user. In the following picture, I specified the WattRating of a HydrogenGenerator to be 1680 Watt (which is 800 Watt originally), but in the Side Screen, it still says it's 800 Watt. 2. When the generator has a ManualDelivery demand(such as a Coal Generator), there will be two sliders in the SideScreen, but it turned out to have only one title, like the picture below: How can I split the two sliders and set their titles respectively? If you need my realization in detail, you can find them at https://github.com/uniqueFranky/ONI-EnergyGeneratorPowerAdjust . Thanks so much! Link to comment https://forums.kleientertainment.com/forums/topic/159087-help-about-sidescreen-content-display/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.