summaryrefslogtreecommitdiffstats
path: root/libunity.py
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2022-11-22 15:36:19 -0800
committeryum <yum.food.vr@gmail.com>2022-11-22 18:13:18 -0800
commitbd8b63a357bb374f5875f0fedf2d677589419810 (patch)
tree0bb804459ebb7ad50e2a817bd842afd946339b30 /libunity.py
parent27a67666c320bed3b4a18e415eb9702b03f8f0b5 (diff)
Rework input controls
Press joystick once to start recording, again to stop. When you start recording, any previous text on the board is cleared. Add 2 visual indicators: one to indicate speech, another to indicate that audio is paging.
Diffstat (limited to 'libunity.py')
-rw-r--r--libunity.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/libunity.py b/libunity.py
index 822c238..9380a6c 100644
--- a/libunity.py
+++ b/libunity.py
@@ -521,6 +521,11 @@ class UnityAnimator():
p0.sequence += p1.sequence
a0.sequence += a1.sequence
+ for elm in p0.sequence:
+ elm.mapping['m_Controller'].mapping['fileID'] = ctrl0.anchor
+ for elm in a0.sequence:
+ elm.mapping['m_Controller'].mapping['fileID'] = ctrl0.anchor
+
return ctrl0
def merge(self, other):