finer control for offsets

This commit is contained in:
c0ffee 2021-07-02 20:43:22 -07:00
parent c9dacad8a1
commit 2b60a84b3f
2 changed files with 5 additions and 6 deletions

View file

@ -57,14 +57,13 @@ namespace Rimworld_Animations {
listingStandard.Label("Warning--You generally don't want to change human offsets, only alien offsets");
}
offsetX = float.Parse(listingStandard.TextEntryLabeled("X Offset: ", offsetX.ToString()));
offsetX = listingStandard.Slider(offsetX, -3, 3);
listingStandard.Label("X Offset: " + offsetX);
offsetX = listingStandard.Slider(offsetX, -10, 10);
offsetZ = float.Parse(listingStandard.TextEntryLabeled("X Offset: ", offsetZ.ToString()));
offsetZ = listingStandard.Slider(offsetZ, -3, 3);
listingStandard.Label("Z Offset: " + offsetZ);
offsetZ = listingStandard.Slider(offsetZ, -10, 10);
listingStandard.Label("Rotation: " + rotation);
rotation = float.Parse(listingStandard.TextEntryLabeled("X Offset: ", rotation.ToString()));
rotation = listingStandard.Slider(rotation, -180, 180);
if(listingStandard.ButtonText("Reset All")) {