Home > database >  I have disabled multi touch but still not working unity
I have disabled multi touch but still not working unity

Time:12-03

I have disabled multitouch but still, when I place second finger on the screen my joystick snaps to the second finger position.

public class GameManager : MonoBehaviour
{
    private void Awake()
    {
        Input.multiTouchEnabled = false;
    }
}

I am using variable joystick from free joystick pack.

CodePudding user response:

public class GameManager : MonoBehaviour
{
    private void Awake()
    {
        Input.multiTouchEnabled = false;
    }
}

That would work only if the app was installed on the device, it will not work on the editor and not even using Unity remote, since Unity remote streams your game only and passes some parameters while streaming.

For more info about Unity Remote: Unity Manual - Unity Remote

  • Related