Tap&Hold Android Game - weird problem with touch
Hello. Im making android game with tap and hold mechanics - when you tap and hold finger on your screen, the spaceship is flying. If there is no finger on screen - the spaceship i falling. I have...
View ArticleHold Down Button
I'm making a FNaF game, and I am making my own 'puppet' how could I make a button that'll slowly go down and then when I hold the button it'll go up, and if it reaches nothing (i'll make something...
View ArticleMake player only jump as long as the button is held?
I am creating a small platformer game for a 4-day contest. I just started, and I am trying new mechanics that I never have before, such as a double jump, wall kick, sprint, and dash. I'm not all that...
View ArticleCheck for Shift in an If Statement, RTS giving several commands
I want to check wether Shift is pressed before the building is placed, so that "if shift is pressed" another building might get placed. I came up with this code, however it does not seem to get the...
View ArticleHold objects and make them collide with walls
Hello folks I'm having some trouble doing a script to make my character to hold things like in the videogame Amnesia. I want the object to collide and hit other things but when I hold it, it just...
View Articlerotating around by holding (android)
i want to rotate around based on where i hold (left or right). The game is for android.
View ArticleLaunch ball after too long waiting
Hello, I would like to add a function to my game, so if the player holds a left mouse button for too long (let's assume for 5 seconds) the ball is fired anyway. I've added float timer, and float hold...
View ArticleHow can i make a hold method for addforce?
Hi, I'm new in unity I have a small issue I've tried to make a hold method for my button the button is working but the hold method is not if anyone can help me I'll be so thankful,this is my code using...
View ArticleHow to use hold/tap interactions in new Input System
Hi, I'm learning the new Input System and can't figure out how to use interactions. Everything is set, but I do not know how to code to do one thing with a single "tap" and another thing with "hold"....
View ArticleNew Input System Hold/Tap stucks with numbers
Hi, I wanted to give a button a Tap and Hold function with the New Input System. It is working fine so far, as I'm using letters and the Arrow Keys. My Setup is like this: ![hold tap letter][1] and my...
View ArticleHold on : Importing assets. How to solve it?
There is a problem in Unity. I'm writing code in the visual studio. Then after I switch to unity, it says hold on importing assets. And it never ends. I turned on the last computer and went out for 4...
View ArticleUnity loop Application.EnterPlayMode
When I hit Play Unity makes me wait infinite time before start the scene. The message in Hold On window is "Application.EnterPlayMode Waiting for Unity's code to finish executing". There is only one...
View ArticleHow to avoid Application.tick (hold on message after runtime)
Hi! I have problem with this message box after each time that i stop my scene in the editor: ![alt text][1] Only takes around 15~20 seconds, but its so tedious always that you stop the scene. This is...
View Article