mirror of
https://gitgud.io/AbstractConcept/rimworld-animation-studio.git
synced 2024-08-15 00:43:27 +00:00
Sex props plus quiver visuals
This commit is contained in:
parent
f275ed90ae
commit
4a2905c7fc
152 changed files with 1985 additions and 184 deletions
|
@ -28,10 +28,10 @@ namespace RimWorldAnimationStudio
|
|||
_optionToggle.Find("Text").GetComponent<Text>().text = tag;
|
||||
|
||||
Toggle toggleComp = _optionToggle.GetComponent<Toggle>();
|
||||
toggleComp.isOn = Workspace.Instance.GetCurrentPawnKeyframe()?.soundEffect == tag;
|
||||
toggleComp.isOn = Workspace.Instance.GetCurrentOrPreviousKeyframe(Workspace.actorID)?.soundEffect == tag;
|
||||
toggleComp.onValueChanged.AddListener(delegate
|
||||
{
|
||||
PawnKeyframe keyframe = Workspace.Instance.GetCurrentPawnKeyframe();
|
||||
PawnKeyframe keyframe = Workspace.Instance.GetCurrentOrPreviousKeyframe(Workspace.actorID);
|
||||
|
||||
if (keyframe != null)
|
||||
{ keyframe.soundEffect = tag; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue