Now I have another issue,
There is only a sendmessage for on down, on up, on click, on release.
My current setup is a 2d game with a left button next to a right button
When I set on down to left_true and right_true respectively.
On up I set to left_false and right_false respectively
private void left_true()
{
left = true;
}
private void right_true()
{
right = true;
}
private void left_false()
{
left = false;
Zero();
}
private void right_false()
{
right = false;
Zero();
}
In my fixed_update if left or right is true it will then move them
However, what I want is to be able to slide my finger from right to left and have it disable right and enable left.
The way it's working right now you have to let go of the screen and click on the next button.
I have a tk2duimanager with multitouch checked as well.
Is there a way to activate the onup by moving your finger off the button and activate the ondown for the other button without lifting your finger?