Comments (3)
There's a "simulate" component that can simulate click and drag using the unity UI event system. This may work for you or can be modified to your needs. See page 27 of the pdf
from unium.
Thanks Gwaredd.
I tried with /q/simulate.click(20,600) and was not able to click on element. I was using transform position for x and y.What value should we give for x and y?
Same thing in drag and drop.What value should we give for x and y?
from unium.
Coordinates are in screen space.
The result is a EventSystem.current.RaycastAll
into the scene so the underlying objects need to handle that.
Unium is a query based approach so really stateful ui is outside of the design. You could always write your own handler.
from unium.
Related Issues (20)
- 1.0.5 ios socket bind not working HOT 1
- System.Reflection.AmbiguousMatchException with component functions that have multiple signatures HOT 7
- Binding to custom events HOT 1
- Passing complex objects through Invoke action HOT 1
- Full feature mobile UI automation tool. HOT 1
- how to change the main camera or player rotation? HOT 1
- trigger an event HOT 2
- Unity package import doesn't work due to missing meta-file HOT 7
- Cloned object paths cannot be resolved HOT 8
- Automate tap/click a toggle button HOT 2
- Obtaining an image or its filename HOT 2
- automated_play not working correct HOT 5
- Make Unium class public? HOT 1
- Domain Reload Disabled support
- Maintenance of unium "API" HOT 3
- Websockets in Unity 2019 and 2020 HOT 9
- Unable to retrieve specific element instance with square brackets for objects with duplicate names/content HOT 9
- stacktrace should be part of events.debug data HOT 1
- How can I invoke an Event Trigger function? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unium.