Moving Unity DualTouchControls/Joystick on touch but also functioning on initial touch.
So I have Unity's Dual Touch Controls - MoveTouchpad and I would like to be able to touch a part of the screen and make that touchpad move to where you touch but to also work on the initial touch. Right now I have:
if (Input.GetMouseButton(0)) {
if (Input.GetMouseButtonDown (0)) {
touchpad.transform.position = Input.mousePosition;
}
While this does move the touchpad to the right place, it does not activate it and let me use it on that same touch. Is there any way to do this? Either that or something similar to hungry shark controls is what I'm going for.
Comment