Quantcast
Channel: Questions in topic: "gui-problem"
Browsing latest articles
Browse All 60 View Live
↧

GUI Screen Size

I am having real trouble with this. I want to keep the GUI text in a particular part of the screen no matter what res or screen size. At the moment every time I change PC from home to uni etc the...

View Article


Timer With GUI

Hey there guys! Still learning and I've been caught on a snag and it seems the the below code will not allow me to produce GUI and I want to see what ideas I could use, even if you throw me a few...

View Article


Trigger Not Activating

Hello, my problem is that the script i have is not activating the scrip here it is: var jumpscare : GameObject; function Start () { jumpscare.SetActiveRecursively(false); } function...

View Article

How to close multiple GUI Buttons and open other gui buttons

So, I am making a multiplayer game, and I want my players to be able to choose the team they will be playing on. And the problem is that when I start my server, I should be able to choose teams because...

View Article

[solved] Problem getting data from array

I am trying to make an inventory system for my game, but I have a problem, I have an array of Item classes, which hold the data for the inventory, but for some reason when I try to read it to get the...

View Article


GUI follow gameobject

Does anyone know how to get a gui texture to follow the position of a gameobject ?

View Article

Finding size of texture GUI

Hey guys and gals! heres my issue, I'm making a game for android and was trying to get it so it scales according to the screen size. i figured that bad boy out but now when i launch the game. my GUI's...

View Article

Simple GUI for walkthrough on mobile phone

Hello everyone. Few years ago I made a simple walkthrough with several models, terrain with a few plants, capsule as FPS model. On capsule I hooked Main Camera and a few scripts (MouseLook.cs,...

View Article


Can't see GUI layers or sprites

Hello there, I'm trying to make a game for the iPhone and I tried adding a sprite, I can't see in the camera nor in the scene same thing with GUI stuff. I have a guy and sprite renderer attached to my...

View Article


GUI shifting positions after switching scenes on mobile

Hi, I'm currently working on a mobile AR application for android using vuforia. Currently, the main part of the application in one scene while the AR camera is on another scene. On the first run, the...

View Article

GUI Button hover not run on android!

Hi every body! I have one problem with unity gui! I create main menu with gui button. And create my GUI skin for button. On window, it run ok with normal, hover, focus background. But when i build on...

View Article

GUIText appears/disappears problem

Hello everyone, I tried to search an answer to my problem but it seems nobody has got the same error. I have some Gameobjects in my scene. I want to make appear the name of the object when my cursor is...

View Article

GUI meter moves in the wrong direction, how do i fix this?.

i am making a fuel meter GUI for a game, but i've run into a problem, the meter fills from the top down, instead of the other way around. using UnityEngine; using System.Collections; public class...

View Article


Texture2D width

Hello, I'm programming HP bar for the bad guys of my little game and I've run across two problems that I can't solve by myself or by googling. I hope you'll be able to help me. It might be important to...

View Article

can i find Joystick Position based on screen size?

hey guys, i've been struggling with this most of the night and have had no luck. i've got a pretty simple way to scale my gui buttons based on screen size. but i can't figure out how to get my...

View Article


Is there way to apply scale on guitext?

Hi guys, first I want to apologize for my bad english, I come from Slovakia My question is: I started to develop games for android, but my problem is, that when I give my app into mobile with medium...

View Article

gui elements to clo

hello there, i have a scene which contains 6 different game objects. to these game objects i attached a popup js. so when i click on each object which has its own js file, it shows a popup. what i need...

View Article


C# Most efficient way to create GUI for android games?

Hello, I am creating my first android game using Unity 2D and I am 90% finished, I just need to create the GUI. At the moment I am just using onGUI. Some examples of my code: GUI.Label (new...

View Article

GUI skin modification problem

I created a GUI skin and modified ‘Toggle’ component images. When run, there is a patchy black background behind toggle text. Could you help me in removing it? This is a little urgent for us. I have...

View Article

3dText problem

i want to put timer . but the sad thing my guitext is not working when i put guitext i dont have see anything text. i try 3d text and i saw the text "hello world" . but my problem is the code. can i...

View Article

CountDown Camera problem

Hi guys good evening ! My countdown is working now, but the problem is when I press play the camera zooms way too much on the countdown, like this : ![Like this when i press the play button][1] [1]:...

View Article


GUI Box not appearing

I have unity 4.2.1 but when I enter function Update () { } function OnGUI() { GUI.Box(Rect(0,0,100,200)); } it gives me an error: Assets/my scripts/inventory.js(8,8): BCE0023: No appropriate version of...

View Article


Circle GUI rough edges

Hello everyone, i'm having this problem with circle shaped GUI which makes the edges rough, although it's 1024 by 1024. Anti-alising is ON, and the GUI resolution in unity is the highest. [Here's how...

View Article

Main menu not showing up

I have writen a script to make a main menu for my little game, but the accual menu part of the script does not show the GUI when it is exicuted. I have run through it a few times now and I cannot find...

View Article

Edit the color/properties of Gui border

Hello, Sorry to ask such an insignificant question but I have been through the scripting referance and cannot find a way to alter the small black border of a gui. Is there any way to change the color,...

View Article


Display text on each side of cube

Hello, I want to display some text on each face of cube. But the problem is i cant use GuiText for it. As it uses the screen positioning while my cube is using the 3d positioning of the game...

View Article

GUI object misalignment, Why is this happening?

So I've just started working with the 2D part of unity and I'm trying to get a gui object to fit in the bottom left corner of the screen but when it appears to fit in the editor and I build and run it...

View Article

GUI clean last frame

Hi guys!! I'm having a problem with GUI, when I disable an object and instansiate other (with his own gui) this show me in the background the gui of the first object...the gui in the background is...

View Article

GUI window gets drawn behind other gui elements.

This a strange bug where GUI window of mine gets drawn behind other elements of gui. PS: all the elements are drawn from same file and irrespective of the GL contents, it still gets drawn behind the...

View Article



Align Image to Top Left Inside Rectangle Object

Hi! I have a back button in my 2D game. I am trying to make this back button so that it is as large as possible, provided that it stays in the space given to it. Once this is done, I want the button to...

View Article
Browsing latest articles
Browse All 60 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>