make button config functionable; better button sound

This commit is contained in:
xpeng
2022-10-06 22:38:29 +02:00
parent c506e0572b
commit 5b1ef6cde6
16 changed files with 464 additions and 24 deletions
+4 -3
View File
@@ -85,10 +85,11 @@ public class TouchManager : MonoBehaviour
ReadHead(ComL, 0);
if (ComR.IsOpen)
ReadHead(ComR, 1);
//if (Input.GetKeyDown(KeyCode.M)) //this is a touch test code
//following are touch test code
//if (Input.GetKeyDown(KeyCode.M))
//StartCoroutine(TouchTest(true));
if (Input.GetKeyDown(KeyCode.M) && StartUp)
SendTouchState();
//if (Input.GetKeyDown(KeyCode.M) && StartUp)
//SendTouchState();
}
private void SendTouchState()