- Home /
Question by
lightingft · Jun 06, 2016 at 09:54 PM ·
c#inputcontroller
Disabling Player Movement when inputting text?
Hey guys, quick question. Is there any way to disable player movement while entering text in an input box? My character moves around and the camera rotates around when I input text. I know one way is to disable the PlayerController for the time, but is there any other way? Thanks.
Comment
Of course! Do you $$anonymous$$d sharing your script so we can help you integrate code better?
Do you mean the input text script? Or the movement script? I have a PlayerController script file which contains all movement and camera controls. I could also just disable the Player object, because I need the text input for starting out the game and creating the character, which involves entering a player name.