I’m aware there are workarounds for this and I also know that Input.GetMouseButton
can be used on mobile devices. The question is however about the Input.GetTouch use in the editor using Unity 2017.3. I couldn’t get it work. Is it possible (so just I was noobish) or is not?
I messed around with the cross platform input, but didn’t get a Touch object out of it. Maybe I did something wrong.
I’m not sure if I understand your question fully, but all of the Input functions only work during play mode, you can’t use them in the editor. You’ll have to use Events, which you can learn more about here.
If I’ve misunderstood and you’re trying to use it during play mode, can you explain how you’re trying to use it exactly?
Does your development computer have a touch screen?
@Joe-Censored nope.
@AnsonRutherford That’s the answer I was looking for. as I said I found it in former replies to a similar question, but those were Unity 5 at best.
I made a simple event system approach, I was just wondering if I could use Unity’s way of doing so.