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

Custom Touch Keyboard instead of Native

Hello. For windows tablets, I have noticed that the native touch keyboard doesn't pop up always when an input field is clicked. As a solution I thought I could use a custom virtual keyboard to pop up...

View Article


Gamepad and keyboard act differently in multiplayer game using Input System

I am working on a multiplayer fighting game where players will move in x and y axis (jump) and will shoot towards each other. I want to get input both from keyboard & mouse and gamepad (I'm using a...

View Article


Unity Keyboard Issue

Hello all! So over the last several days to a week, I've had issues with key input within games utilizing Unity; Rust, Phasmophobia, and V Rising to note. Within Rust, the crouch keybind is left...

View Article

How to make interaction independent from changing keyboard?

My character jump properly when when I press "Z" but only if selected language in task bar is english. If I choose some other language with different keyboard layout I have to press "Y" for it to jump...

View Article

Character moving backwards when I press the forward key (w) and moving...

void Update() { float x = Input.GetAxis("Horizontal"); float z = Input.GetAxis("Vertical"); Vector3 move = transform.right * x - transform.forward * z; controller.Move(move*speed*Time.deltaTime);

View Article


No keyboard focus on Buttons instantiated from prefabs on canvas,

Currently I am Adding keyboard controlls in order to navigate a Dialog between Player and NPC by WASD and E. I have set up unitys Input controlls for this, but I run into an issue. When I start the...

View Article

Is it possible to assign multiple movement keys to character controller

float horizontal = Input.GetAxisRaw("Horizontal"); float vertical = Input.GetAxisRaw("Vertical"); Vector3 direction = new Vector3(horizontal, 0f, vertical).normalized; if (direction.magnitude >=...

View Article

is it possible to make 2 buttons on Keyboard to jump?

so not to sure but I want to see if I make the arrow key up and space bar jump for my player (Sphere)?

View Article


keyCode is None when using non-US keyboard layout

Hello. I have the following code attached to a game object: void OnGUI() {   Event keyEvent = Event.current;  if (keyEvent.isKey)  {   Debug.Log ($"keyCode: {keyEvent.keyCode}; character:...

View Article


How to add forward, backward and side movement to a player?

I am a complete beginner so i want to learn player movement

View Article

Problem: Can not hide suggestion when input Japanese characters in Android...

Hi every one, I have a problem with my Unity keyboard. As you type Japanese characters, the OS automatically displays suggestions. In Unity, I customized the code to hide the input field above the...

View Article

How to get if(forwardPressed) using the new Input System or if(movedForward)

HI float forwardPressed = Keyboard.current.wKey.ReadValue(); float backwardPressed = Keyboard.current.sKey.ReadValue(); float leftPressed = Keyboard.current.aKey.ReadValue(); float rightPressed =...

View Article

2D steering wheel more movement

Hello I made a 2D steering wheel that rotates with the mouse and I would like to add more movement with the "a" and "d" buttons and the Gamepad (right, left) unfortunately i am New when it comes to...

View Article


Setting Android Keyboard language via code

We are developing a game that's focused on learning languages. As in Duolingo, for instance, what we want is to change the language on the keyboard via code. The idea is to access the current keyboard...

View Article

How can I make my custom numpad functional for a mobile game I'm making?

Can I even do that? I can't find any post asking something related. I've already designed my numpad https://imgur.com/252U5vS And correct me if I'm wrong (or if there's a better way), but I think I can...

View Article


Input System conflict between two actions

Hello all. I've been trying to use the input system to select options in the pause menu, however, it does not work when trying to bind the key to S. The other bindings, arrow down and E key, work fine....

View Article

I need help with this script

Hello . I am new on Unity. I want to make a t$$anonymous$$rd game and downloaded on assest store about Basic Motions FREE and import on Unity. How can I Rotation with the keyboard the character on C#...

View Article


How to disable keyboard key with script

Hello.How I can disable a key on keyboard in a script. I want to make that when im relaoding so click "R" key than disable mouse0 key -- not functional. Is this possible? :) Thanks in advance! :D

View Article

Detect when key is lifted (New Input System)

I am currently working on a platform game and am not sure how to detect when a key is lifted using the new input system. I would like to know, if possible, can you detect when the key is lifted and...

View Article

How to set Num Lock state to true at game start?

I have a game I'm creating to learn Unity, in co-op mode, the PlayerTwo is controled by KeyPad Numbers, but it only works if Num Lock is activated. Is there a way to activate Num Lock from start? Or it...

View Article
Browsing all 605 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>