mirror of
https://gitgud.io/c0ffeeeeeeee/rimworld-animations.git
synced 2024-08-15 00:43:45 +00:00
finer control for offsets
This commit is contained in:
parent
c9dacad8a1
commit
2b60a84b3f
2 changed files with 5 additions and 6 deletions
Binary file not shown.
|
@ -56,15 +56,14 @@ namespace Rimworld_Animations {
|
||||||
if(curPawn.def.defName == "Human") {
|
if(curPawn.def.defName == "Human") {
|
||||||
listingStandard.Label("Warning--You generally don't want to change human offsets, only alien offsets");
|
listingStandard.Label("Warning--You generally don't want to change human offsets, only alien offsets");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
listingStandard.Label("X Offset: " + offsetX);
|
offsetX = float.Parse(listingStandard.TextEntryLabeled("X Offset: ", offsetX.ToString()));
|
||||||
offsetX = listingStandard.Slider(offsetX, -10, 10);
|
offsetX = listingStandard.Slider(offsetX, -3, 3);
|
||||||
|
|
||||||
listingStandard.Label("Z Offset: " + offsetZ);
|
offsetZ = float.Parse(listingStandard.TextEntryLabeled("X Offset: ", offsetZ.ToString()));
|
||||||
offsetZ = listingStandard.Slider(offsetZ, -10, 10);
|
offsetZ = listingStandard.Slider(offsetZ, -3, 3);
|
||||||
|
|
||||||
listingStandard.Label("Rotation: " + rotation);
|
rotation = float.Parse(listingStandard.TextEntryLabeled("X Offset: ", rotation.ToString()));
|
||||||
rotation = listingStandard.Slider(rotation, -180, 180);
|
rotation = listingStandard.Slider(rotation, -180, 180);
|
||||||
|
|
||||||
if(listingStandard.ButtonText("Reset All")) {
|
if(listingStandard.ButtonText("Reset All")) {
|
||||||
|
|
Loading…
Reference in a new issue