Skip to main content

All Questions

0 votes
0 answers
25 views

[SOLVED]Unity New input System: Overlap problem between the PrimaryTouch[touchscreen] and GUI elements

In a tablet game, in an New Input system Action map, I placed an aiming command conveyed by PrimaryTouch[touchscreen], next to other commands conveyed by gamepads, and buttons on the screen. The idea ...
Daniele Pomilio's user avatar
-2 votes
0 answers
16 views

How to Handle Multiple Input fields(for Pin Log-In) With textmeshpro Unity

I am facing Issue with the multiple Tmpro_Input fields. I am making Login With pin in which I have the 4 different Input field, Each Input field will contain the 1 input in int and the input is using ...
Rahmat Ali's user avatar
1 vote
1 answer
112 views

'Input' is an ambiguous reference between 'UnityEngine.Input' and 'UnityEngine.Windows.Input' error

I just updated the VS and I have this error: ('Input' is an ambiguous reference between 'UnityEngine.Input' and 'UnityEngine.Windows.Input') Here's the code snippet I got the error at: float ...
Ahmet Bıçakçı's user avatar
1 vote
1 answer
35 views

Unity C# script not working i used a bool function to disable / enable my movement script

The input escape key cancel function works but the bool function I added to determine if the key is being pressed twice to enable / disable player movement for my menu ui. does not. Any ideas? Does ...
Myles Calladine's user avatar
0 votes
0 answers
36 views

Unity wont detect a mouse click whenever another button is being held down

Info Within the game I am working on, I have 2 different abilities both bound to parts of the mouse. Ability #1 is bound to Mouse 1, and ability #2 is bound to one of the Mouse 4. I am using the ...
ErraticSignal's user avatar
0 votes
0 answers
13 views

No Game Piece movement in simple 2x2 board game MVP in Unity3D

I am trying to make a board game in Unity3D. I have already published 2 apps and this is my next project. I would like to make a basic test of what I am trying to do by developing a board game with ...
Polymathic Industries's user avatar
0 votes
1 answer
28 views

Player input not working properly in unity

I'm attempting to recreate aspects of The Binding of Isaac in Unity (just as a learning exercise, not the entire game). I've created a script to enable Isaac to move using the WASD keys and to shoot ...
Gabriele Conserva's user avatar
1 vote
1 answer
35 views

Movement value is reset before it can get cancelled by a UnityEvent

I've been using Unity for a few days and I'm trying to create a simple plateformer. I'm currently doing the basic player character physics, but I'm trying to use the "new" InputSystem and my ...
Gaspard GUILLOT's user avatar
0 votes
1 answer
257 views

Getting the Steam Controller to work in the Unity Editor

I recently came upon some issues during development with my Steam Controller: It was not recognized in the Unity Editor as an input device. Whatever I tried, it was not showing up in the InputSystem....
KamielDev's user avatar
  • 549
0 votes
1 answer
232 views

Unity InputSystem Scroll [Mouse] is triggered by middle mouse button press. Possible bug?

I'm using the Unity InputSystem to detect mouse scrolling and use it's Callback to effect a Camera object zoom. However, I noticed that when I press (not scroll) on the middle mouse button (aka the ...
Jon Simon's user avatar
0 votes
0 answers
24 views

How do I set up Malbers Horse Animset Pro with Unity XR Rig

All I need to do is make it so my XR rig can mount with the Horse and control it with the VR joystick. I can not find a single thing related to using the horse in VR. I doubt anyone knows how to do ...
Matt Clifford's user avatar
0 votes
1 answer
206 views

Using Unity's new input system, how do I apply a jump height based on how long the jump button is pressed?

I'm working with the new input system, and I have a simple code right now for jumping: void OnJump(InputValue button) { isGrounded = groundCheck.IsTouchingLayers(LayerMask.GetMask("...
Lordvanan's user avatar
0 votes
2 answers
101 views

Get all values of enum which contain a specific string

I have this code that finds which key the user pressed out of the values in Unity's KeyCode enum: foreach(KeyCode kcode in System.Enum.GetValues(typeof(KeyCode))) { if (Input.GetKey(kcode)) Debug....
AcinonX's user avatar
  • 204
0 votes
0 answers
245 views

Unity, How to get specific controller input with multiple controller(joysticks)

enter image description here I found to get how many controllers connected. But how do we know each different controller's input? Example: Assumption: 1st Player - Keybord and Mouse, 2nd Player - ...
PpuRal's user avatar
  • 1
0 votes
0 answers
62 views

Why does Input.GetMouseButtonDown(0) return True on button release, when targetFrameRate is set?

Im working on a game in Unity, and for some reason Input.GetMouseButtonDown(0) stopped working correctly. The method return true both when I click down, but also when I release the mouse button. Using ...
BenjaminSimon's user avatar

15 30 50 per page
1
2 3 4 5
20