Search Unity

TextMesh Pro Turning off mouse control

Discussion in 'UGUI & TextMesh Pro' started by Nitrox32, Jan 17, 2018.

  1. Nitrox32

    Nitrox32

    Joined:
    May 9, 2017
    Posts:
    161
    I'm currently working on a project where I would like to turn off the mouse control to my player while an inventory window is open and return control upon closing the window. What is easiest method to do this?
     
  2. methos5k

    methos5k

    Joined:
    Aug 3, 2015
    Posts:
    8,712
    Find the property, field or method that disables the mouse control (here, I am guessing you're talking about some sort of First person camera / control), and then set or call it , making it 'off' :) Then, a way to restore it when you're done with the inventory.