mirror of
https://gitgud.io/AbstractConcept/rimworld-animation-studio.git
synced 2024-08-15 00:43:27 +00:00
Bug fixes
This commit is contained in:
parent
721443592f
commit
c63e08b554
157 changed files with 134 additions and 116 deletions
|
@ -12,7 +12,7 @@ namespace RimWorldAnimationStudio
|
|||
{
|
||||
public InputField defNameField;
|
||||
public InputField labelField;
|
||||
public Toggle playSoundsToggle;
|
||||
//public Toggle playSoundsToggle;
|
||||
|
||||
public void Update()
|
||||
{
|
||||
|
@ -24,14 +24,14 @@ namespace RimWorldAnimationStudio
|
|||
if (labelField.isFocused == false)
|
||||
{ labelField.text = Workspace.animationDef.label; }
|
||||
|
||||
playSoundsToggle.isOn = Workspace.animationDef.sounds;
|
||||
//playSoundsToggle.isOn = Workspace.animationDef.sounds;
|
||||
}
|
||||
|
||||
public void UpdateAnimationDef()
|
||||
{
|
||||
Workspace.animationDef.defName = defNameField.text;
|
||||
Workspace.animationDef.label = labelField.text;
|
||||
Workspace.animationDef.sounds = playSoundsToggle.isOn;
|
||||
//Workspace.animationDef.sounds = playSoundsToggle.isOn;
|
||||
|
||||
Workspace.Instance.MakeHistoricRecord("AnimationDef update");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue