fix ipc touch not working bug;
fix player height text not updating bug
This commit is contained in:
xpeng
2022-10-07 17:12:42 +02:00
parent 92a1395c79
commit 390c807f6c
15 changed files with 267 additions and 36 deletions
+2 -2
View File
@@ -102,8 +102,6 @@ public class TouchManager : MonoBehaviour
// Debug.Log("Sending Right");
SendTouch(ComR, TouchPackR);
}
if (ConfigManager.config.useIPCTouch)
IPCManager.SetTouchData(TouchPackAll); //send touch data to IPC
}
IEnumerator TouchTest(bool State) //this is a touch test code
@@ -249,6 +247,8 @@ public class TouchManager : MonoBehaviour
Area += Area / 5 * 3 + 7;
ByteHelper.SetBit(TouchPackL, Area, State);
}
if (ConfigManager.config.useIPCTouch)
IPCManager.SetTouchData(TouchPackAll); //send touch data to IPC
}
}