AirtestProject / AirtestProject/Airtest
G.Device.touch touches as fast as possible on Unity Android build, but not on Unity Windows build
- Vorherrschende Sprache
- Python
- Sterne
- 9.6k
- Forks
- 1.5k
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
**Describe the bug**
G.Device.touch is too slow, when used on Windows Unity Build, Compared to Android Unity Build
**To Reproduce**
Steps to reproduce the behavior:
1. Copy the below code
"""
from airtest.core.helper import G
for i in range(50):
G.DEVICE.touch([0.5,0.5])
print("Spam clicking on middle of the screen")
"""
2. Run the code, connected to a unity project on Android, remember how fast the message prints
3. Run the code, connected to a unity project on Windows, compare the slowness of the print message compared to android
**Expected behavior**
G.Device.touch should work like the Android version, clicking as fast as possible, so that I can use it to skip dialogues
**python version:** `python3.7"
**airtest version:** ` 1.2.0
**Smartphone (please complete the following information):**
- F1 Pocophone
- Android 9
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.