Quantcast
Channel: Questions in topic: "clickable"
Browsing index pages (140 articles)
↧

Image FillAmount > Button,using Image with fill amount as a button

Hello I did 2 radial menues my issue with the 1th is its not flexible cuz i preedited the texture / radial menu segments. my issue with the 2nd alphaHitTestMinimumThreshold only considers the texture...

View Article


Advise on point & click game VR game, with mouse?

Hello, I am new to VR gaming (and have been experimenting very little bit with Unity). I am a noob. I want to make a simple point & click VR game, which would need only a headset and a mouse. While...

View Article


how do i make my button's source image bigger without changing the button...

Hey everyone, im trying to make a button's source image bigger but without making the clickable/hover area bigger, so if i made the source image bigger the button area is so much bigger and if i made...

View Article

Clickable button area is offset

Issue: I've created a button with a custom image of an arrow, I used "alphaHitTestMinimumThreshold" to make the transparency on my png unclickable, I had to enable read/write of the image to do so as...

View Article

OnMouseDown not working on my Particle System

**DISCLAIMER:** this is my *first ever* Unity project (though I have programmed some before so I know a bit of lingo) and I'm mostly just playing around and learning. I am NOT necessarily looking for a...

View Article


Is there a way to put one collider over the other on 2D?

Hello everyone! I have 2 colliders in my object. One of them is for registering when you click it (click area), the other is for registering when you go through it (the trigger). However, when I click...

View Article

OnPointerClick & OnPointerEnter events only work in Unity Editor but not in...

I've been implementing an inventory system in my game. However, my OnPointerClick & OnPointerEnter events only work when I use the Unity Editior to preview it. It won't work in the actual game or...

View Article

Buttons still visible after Destroy() but say "deleted gameobject" in hierarchy

Using Unity 2018.3.11f. I am trying to show a pickup button when the player walks over an item, or several, and then removes the button if the player walks to far away. This works great, except the...

View Article


Best approach to get the part of the sprite that was clicked

Hi! I'm creating a 2D turn-based RPG game where I want the player to click on the enemy to perform an attack. I want to "separate" the sprite of the enemy in, let's say, 9 "pieces", like a matrix. One...

View Article


How do I make it so I only change the speed of the object clicked on

Right now i have a script that stops boulders falling and eventually destroys them after they play their animation. I'm running into a problem where if there is more than 1 boulder on screen at a time...

View Article

Ignoring button clicks for second action

Sorry for the title, I didn't know how to word it correctly. Let's say I have a script: This script has 2 states. State 1: Idle State 2: Unit Selected **State 1:** if (left mouse button is clicked) {...

View Article

How can I change image when click Icon?

Hello! I'm doing a dress up game for mobile and I've been struggling with the drag & drop system (items are too tiny for the screen) so I wanted to change for another type of dressup. The idea is...

View Article

How do I use an objects own coordinates within a script component placed on...

I am very new to this so sorry if I'm an idiot First off, see the title, I'm sure its simple but I have no idea. I'm making a 2D game in which I need the player to be able to click on a tile, and then...

View Article


Clickable object not properly working

Hello guys, so I have 3 clickable objects in my scene, they do the work that I want to be done but they are not properly working. What I mean but that, when I move my character and click it sometimes...

View Article

Multiple Clickable Areas On Sprite

I can't find a way to work with multiple 2D collision boxes on one game object. In a card game, I have card objects whose sprites have various numbers on them. I need to know what number was clicked...

View Article


Making own character clickable

Greetings all, I have a scene. What I am trying to do is create a 2D looking game which actually uses 3D assets but how its viewed by camera makes it seem 2D. I have my own characters .fbx. I want to...

View Article

I am making a click based game. I need to print out a log of the...

Hello, I am working on a game in which the user will be clicking on different buttons to move(play the game). I need to print out the log of the buttons pressed by the person and store them in a...

View Article


Image appear on click

Hi everyone, basically what i have in mind is to make a fullscreen image appear when clicking on an object. Like a resident evil 3 style. You click an object and the screen shows an image where you can...

View Article

Clicking problem

How can I disable the option to click on an object until another object is clicked in the asset bar? After the object is clicked in the asset bar, the objects on the scene should be clicked in a...

View Article

Attach button to 3D object,How to attach a button to 3D object (.obj)

Hi, i have an app for android and i have a 3D object (person) and i want that some parts of the object can be clickable (touch), so i thought that i can do that with a button but idk how to attach it...

View Article
Browsing index pages (140 articles)


Latest Images