mirror of
https://gitgud.io/c0ffeeeeeeee/rimworld-animations.git
synced 2024-08-15 00:43:45 +00:00
rotation, quick reset, better handling of offset values
This commit is contained in:
parent
2e18be1953
commit
f22f5ac33e
6 changed files with 66 additions and 26 deletions
|
@ -21,9 +21,11 @@ namespace Rimworld_Animations {
|
|||
public Vector3 offset = new Vector2(0, 0);
|
||||
|
||||
public Dictionary<string, Vector2> offsetsByDefName = new Dictionary<string, Vector2>();
|
||||
public Dictionary<string, float> rotationByDefName = new Dictionary<string, float>();
|
||||
|
||||
public void ExposeData() {
|
||||
Scribe_Collections.Look(ref offsetsByDefName, "OffsetsSetInOptions", LookMode.Value, LookMode.Value);
|
||||
Scribe_Collections.Look(ref rotationByDefName, "RotationOffsetsFromOptions", LookMode.Value, LookMode.Value);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue