Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Disable mouse/cursor

Discussion in 'Samsung Smart TV' started by lumaluis, Jan 21, 2015.

  1. lumaluis

    lumaluis

    Joined:
    Nov 18, 2014
    Posts:
    10
    How can I disable the cursor inside the game?
    I've tried Screen.showCursor and lockCursor and this didn't work
    There is a property in unity to deactivate this?
     
  2. AlexThibodeau

    AlexThibodeau

    Unity Technologies

    Joined:
    Jul 23, 2013
    Posts:
    309
    Hello,

    There's two ways that this may be possible. You could either:
    1. Set the cursor image to an invisible image (or perhaps a really really small one ;-) )
    2. Disable mouse input mode and use joystick mode instead?
     
  3. lumaluis

    lumaluis

    Joined:
    Nov 18, 2014
    Posts:
    10
    The first didn't work, the second how can I change that?
     
  4. AlexThibodeau

    AlexThibodeau

    Unity Technologies

    Joined:
    Jul 23, 2013
    Posts:
    309
  5. lumaluis

    lumaluis

    Joined:
    Nov 18, 2014
    Posts:
    10
    Thank you
    I send the application with the cursor jeje