Quantcast
Channel: Questions in topic: "keyboard"
Browsing all 605 articles
Browse latest View live
↧

gameObject A detecting keyboard inputs from gameObject B.

Hi! I'm very new with unity. Been self studying the program for a week already. I have gameObject A function Update () { if(Input.GetButton("Fire1")){ renderer.enabled = true; } else { renderer.enabled...

View Article


Movement on the keyboard and mouse

ello guys I have a problem, I have a script ClickToMove, I would add movement via keyboard, AWSD, but that is on the camera. The character must always move forward toward the camera. PLEASE someone...

View Article


When opening unity plugin via Chrome, all keyboard input is disabled?...

An App I'm working on, has an issue whereby, opening the page with the Unity plugin via Chrome - has all keyboard input disabled. Sometimes this effect is temporary and keyboard input returns, other...

View Article

Detect a specific Key Press Event Without Keyboard Input

For key press normally we use Input, but I want to call a specific key press event without giving input from keyboard. In details I want a key press (space) event running with a Boolean value. But that...

View Article

Make the iOS mobile keyboard input area take up the full screen

Calling TouchScreenKeyboard.Open() brings up the mobile keyboard, with a 3-line white text-preview area above it. I would like to make the 3-line text-preview take up the rest of the screen. This way,...

View Article


TouchScreenKeyboard flickers

I'm having an issue when i build my scene to an iOS device , the native iOS keyboard flickers endlessly and game becomes non-interactive such that i can't even input any characters onto the textfield....

View Article

how to get Inputs from touch keyboard...

Hi...can anyone tell my how do we get input from the touch keyboard.. like enter your name in a box .. when we touch the box keyboard appear and write your name and that name show on the other scene.....

View Article

3d text to trigger mobile keyboard

I want to use 3d text as the button to trigger open mobile keyboard. Currently what I do is having a box as the collider as the child to the 3d text and change size accordingly to the length of the 3d...

View Article


Android hardware keyboard

Hi, I'm creating a android game and i need to detect if the device is using a hardware keyboard that is pluged in or is using the software keyboar of android, there is a way to get this information in...

View Article


Changing keyboard input to touch in script

Hi, I have acquired this script from an asset I bought and I would like to turn the keyboard inputs to touch, be it either touch button or joystick. Upon looking at the script, it appears that many of...

View Article

Making a piano sin

hey guys i just started to build a piano sim and i have the keyboard layout ready and i want to know how can i do those thing: 1. the music plays along and shows which keys to press 2. the music will...

View Article

Failed to register devices: The operation completed successfully.

What it says on the tin. I get these come up in the console now pretty often. Once they started... Not sure how long ago, keyboard and mouse usage in testing sometimes doesn't work. Sometimes it's...

View Article

Clear Console Window

I want to clear content of console window. At present, I have to press clear button each time to rub content. Because by default console window clears when we play our project. I want keyboard shortcut...

View Article


Unity3D Webplayer Keyboard input not working?

When I build my game as a mac app, as well as in the editor, everything works fine, but when I build it for the web, it starts and loads fine but it doesn't register any keyboard input. I'm not sure...

View Article

How to Instantiate an object one at a time when button down?

Hello Unity community! I need help please. Please look at the following lines of code and I will explain what I'm trying to do....

View Article


Character Rotation - Script not functioning correctly

The problem with the script is that all but one of the diagonal movements are not functioning. I have a feeling that this is because the script is detecting that a key was pressed and not checking if...

View Article

Latest version of Unity Editor (4.5) takes over media keys

After updating to 4.5 (which is generally awesome by the way) I can no longer use keyboard shortcuts for my music software. (Clementine or Winamp) I listen to music all the time when developing, so not...

View Article


Editable text field in Android with cursor

Is it possible to have a cursor in the text field in Android? Lets say I have the following string: onetwothree If the user touches anywhere on that string I want the cursor to go there and start...

View Article

Why is keyboard faster than gamepad?

When I use the gamepad/joystick, the character moves correctly, at expected velocity. When I use the keyboard, it's ok only when I press one key at a time, but... Once I press the keys down + left, or...

View Article

Properly way to read keyboard input

I've been developing unity for 2 days and I'm still stuck at the keyboard input part. I mean, take a look at my code: function Update () { if(Input.GetKey (moveLeft)) if(Input.GetKey(run))...

View Article
Browsing all 605 articles
Browse latest View live