Quantcast
Channel: Questions in topic: "hold"
Browsing index pages (154 articles)

How 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


Unity 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 Article


Hold 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 Article

New 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 Article

how fix hold on error ?

![alt text][1] [1]: /storage/temp/165304-capture4.jpg

View Article


How 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 Article

How 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 Article

Launch 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 Article


rotating around by holding (android)

i want to rotate around based on where i hold (left or right). The game is for android.

View Article


Hold 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 Article

Check 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 Article

Make 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 Article

Hold 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 Article


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 Article

Movement help

Hello! I am very stumped on how to start my script code on movement. I already done the hold touch to increase power bar mechanic but I want the mechanic to be when I touch and hold the screen, the...

View Article


How to make a physics based jump with button hold effect

Hi I have made a character jump script for a sphere character which will make my character jump higher when the button is held. (I have a wall jump mechanic as well.) ---------- It works rather well,...

View Article

How to hold button/key at a right timing

Hi ! Got a rythm game I try to make, and got a problem with duration's note. I would like my note to be hit at the right time, and for a precised duration. For now and for example even though i know...

View Article


How to get touch's positon when I hold the button??

I have some ways to solve this problem but its too troublesome. Hope you guys can provide me with any solution. Thanks in advance. public void OnPointerClick(PointerEventData eventData) {...

View Article

Input.GetMouseButton(0) registering twice on relase?

I am using Input.GetMouseButton(0) to add force to my character. The problem is that it seems to register twice when I release the mouse button. Why is this happening? this is the code I am using: if...

View Article

Hold to peek or peek and pop in android

I need help on how to hold to peek or peek and pop in Android by adding or editing this code. using UnityEngine; using UnityEngine.UI; using System.Collections; using UnityEngine.SceneManagement;...

View Article
Browsing index pages (154 articles)


Latest Images