bugs fix
fix ipc touch not working bug; fix player height text not updating bug
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user