Hello
I am developing an Android app. I want to know if OnMouseDown works out for Android devices.
I don’t need multi touch; only a simple touch on a GameObject.
2 Answers
2I don’t think so, but Input.GetMouseButtonDown(0) does. Also, to determine which object was clicked use a raycast.
Yes it’s true onMousedown work if you don’t need multi touch you can keep using that
You need to store the value in another variable and show that instead of trying tp halve the sliders.value. private float myFakeSliderValue; public void Slider_C_Axis { myFakeSliderValue = sldr_C.value / 2; Then use that float instead of the actual value.
– Mmmpies