Quantcast
Channel: Questions in topic: "gui"
Browsing all 125 articles
Browse latest View live

Treeview inside Window editor is not scrolling.

![alt text][1] [1]: /storage/temp/171095-treeview.png As you can see in the image attatched. The treeview does not scroll even though it is a huge list of items. **Things I have tried so far** float...

View Article



Build is different from editor mode!

This morning I made a GUI for my game, including a Start Menu and pause menu. I spent all day in the editor and when i was happy with it, I built it to show my friends. The problem is that The gui is...

View Article

How do I display a texture in the scene view?

How do I get the same results as GUI.DrawTexture() gives in the game view but in the editor view instead? ![alt text][1] Like this ^^^ ![alt text][2] [1]: /storage/temp/171269-capture.png [2]:...

View Article

How can I make a custom inspector for the Texture Import Settings?

So I tried making a custom editor for the TextureImporter class but I guess there is already a built in editor that seems to disappear when I make a custom editor for it. How can I keep the built in...

View Article

Mouse click not registered correctly using CRT shader

Hey, I'm making a game in which the user can program robots to do simple tasks I'm using a CRT shader for the UI that allows the user to write the code : ![CRTshader](https://i.imgur.com/hAleOyL.png)...

View Article


How to make buttons in scene view?

I make an editor and want add on "screen view" the buttons. (I find how to make this if clicked on object but me need make if i openned my custom editor window.) If i open this window: ![alt text][1] I...

View Article

Drawing Circle with Physics2D.OverlapCircleAll,Make...

Hello Everyone, I have a game with a bomb that creates a circle around the bomb once it hits an enemy. Everyone inside of that circle that is an enemy gets destroyed. However, I also want to see the...

View Article

Custom Slider Shapes causing fill to break.

[this video][1] should explain my problem better than words could. I'm not sure whether it's because of the shape or size of the slider, or if its because it's not parented to the healthbar and is...

View Article


How can I disable toggles when 2 toggles checked?

Hi Guys! My problem is I instantiated some prefab toggles on the screen, and I would like to disable the other toggles when 2 of them are cheked, and then when I uncheck one or both of tghem then...

View Article


Scripted rotation is inverted- GUI HUD.

Hello, thank you for taking the time to have a look at my issue. So I am trying to create a HUD which surrounds my player and has a Ping which always points to the nearest object. I did have this...

View Article

How to get information from Graphic Raycast?

I wanted to get information from users interacting with a button. What i have is a canvas with a graphics raycast. I wanted to know if it is possible to get information from players that presses the...

View Article

Best way to offset GUI element from scrollbar in custom inspector?

Hello, I'm using a mixture of GUI and GUILayout classes in a custom inspector and I'm wondering what the best way of offsetting the GUI element's width (GUILayout does this automatically, but because...

View Article

How to unable player to move on GUI buttons

Hello Guys ! I cant solve problem with GUI and player movment. When my character level up, i can click on button to increase damage or health. But, when i click on this button he moves to location...

View Article


Create an interactable World Space Canvas

Hello fellow Developers, I am currently working on a game that features terminals the player can interact with. I use World Space Canvases to represent the screen of the terminals and I actually don't...

View Article

How to unable player to click on GUI button

Hello Guys ! I cant solve problem with GUI and player movment. When my character level up, i can click on button to increase damage or health. But, when i click on this button he moves to location...

View Article


Unity bad GUI performance?

Is there any reason I'm getting huge performance spikes from unity's GUI in the profiler? Canvas.BuildBatch is at 46.6% during the spikes. Disabling the GUI resolves this issue. However, like most...

View Article

I'm relatively new to working with unity, and something went horribly wrong...

KeyNotFoundException: The given key was not present in the dictionary. System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) (at :0)...

View Article


How to get rid of gradle error during building?,How to solve deprecated...

When I trying to build my own game, it did stop then Ran into this error CommandInvokationFailure: Gradle build failed. C:\Program Files\Java\jdk1.8.0_271\bin\java.exe -classpath "C:\Program...

View Article

[Help] Add info in serialize List like variable or button GraphView

Hi, Let me explain, I use Graphview and in a Node i want add data in a list serialized like this ![alt text][1] Or with a button which allows the modification of the element ![alt text][2] [1]:...

View Article

What needs to be considered when moving from a Screen Space Overlay UI to a...

I have a fully working drag-and-drop inventory system that uses a Screen Space Overlay UI canvas, and I want to add 3D objects as inventory icons. The correct way to do this, seemingly, is to switch...

View Article
Browsing all 125 articles
Browse latest View live




Latest Images