Questions tagged [unity3d-gui]

Questions related to the new UI system in Unity 4.6 and newer or the old GUI class.

Useful links:

134 questions
0
votes
0 answers

Stream camera view or scene in Unity3D over local network

I want to know How can I stream camera view of the player over local network for example HTTP Server or RTSP ? because I need to make processing in a python script using OpenCV .
0
votes
1 answer

Not able to get real position of an object in a Canvas with "Screen Space Overlay"

I have a mobile game with a BAR on the top of the screen. The bar and it's game objects are in canvas with "Screen Space - Overlay" mode plus a Canvas Scaler with scale mode of "Scale with Screen Size" and match equals "Match width or height". I am…
Neliosam
  • 73
  • 11
0
votes
1 answer

How Do I measure some prefabs range?

I am building firest person Firearm Simulator. When i fire bullet hall prefab showing on the target board. this is my target when i fire Hole prefabs sticking on the target board like red rounds. i need to get a range of the holes. need to get…
lulitha
  • 83
  • 11
0
votes
1 answer

How to get pointer down and up events for camera space?

I need to when the user touches in any point of the screen the camera recieves pointer down|up events. I tried to attach BoxCollider2D to camera with script: public class PlayerController : MonoBehaviour, IPointerDownHandler, IPointerUpHandler { …
Denis Sologub
  • 7,277
  • 11
  • 56
  • 123
0
votes
0 answers

Unity humanoid movement

Some Animations I import develop issues when I change the animation type to humanoid. The problem is that when I change it the animator the humanoid tends to enter the ground level. So anytime I apply the animation to my game it tends to go below…
0
votes
1 answer

Unity 3D does not show anything in the hierarchy window

I am new at Unity. I saved my Unity project after one day, I did some work on it and then save again after some time I reopen it then unity does not show game objects in the hierarchy view.
0
votes
1 answer

Do not understand how to position UI rectTransform

I do not understand what i am doing wrong here. I am trying the following: 1) Positioned 4 x Images (Cards) on UI scene public Image aceHeartZone, aceClubZone, aceDiamondZone, aceSpadeZone; 2) The ace-cards are in the same hierarchy, in the Editor,…
PeterK
  • 4,243
  • 4
  • 44
  • 74
0
votes
1 answer

Unity Panel Not Fitting screen correctly

I am making a little game in Unity3D and I came across a little problem, when I made a Panel inside a canvas, it shows perfectly when in Unity, but in the game, the text doesn't even show or anything. Here is some pictures: How it's supposed to…
user9459487
0
votes
1 answer

GameObject prefab is not showing in scene when activated in my script

I have 2 classes attached to 2 different GUIs, PlayerInfoGUI and DiplomacyGUI. I am trying to have a method in PlayerInfoGUI create a list of buttons dynamically which, when clicked will then pull up DiplomacyGUI. (Both GUIs as well as the dynamic…
nickassembly
  • 53
  • 3
  • 10
0
votes
1 answer

Putting money.text in my shop scene

I want my money.text to be in my shop scene to buy some shield. For some reason my money.text is only on the other scene and it's not going in the shop scene. This is my shop script. using System.Collections; using System.Collections.Generic; using…
P.Degs
  • 21
  • 2
0
votes
1 answer

Unity3D file explorer on Microsoft Hololens?

My goal is to read a XLSX file and use this to generate objects in Unity3D. However this app is for a hololens. It is possible to let the game ask the user to select a file which it should import (at runtime)? like how a regular windows forms app…
Sten Martens
  • 61
  • 1
  • 6
0
votes
1 answer

Unity Image.FillAmount not working as wanted

I'm working on something that relies on the fill amount of the image. However, the fill amount may be weighted slightly? I'm unsure. Here is my evidence: This is the amount set to 0.2 However, setting it to 0.1 shows I would have thought that 0.1…
Dwarph
  • 43
  • 1
  • 10
0
votes
0 answers

Unity3D 2017.1.0f3-p2 [POSSIBLE] Bug Moving Inactive RectTransform

When moving a disabled (gameObject.SetActive(false)) RectTransform, the 2017.x releases don't behave the same as 5.6.x did. I'm setting the RectTransform offsetMin and offsetMax via script here (while the RT is disabled) and as you can see, the…
slumtrimpet
  • 3,159
  • 2
  • 31
  • 44
0
votes
1 answer

Unity3d AppRequest invite limit on select

I have problem with FB.AppRequest. I need the user to only select one friend from the list shown in the Facebook UI, but I can't find a way to do it looking at the Facebook Unity3d SDK. Thanks for the help. public void ShareWithUsers() { …
Gorlog
  • 3
  • 2
0
votes
1 answer

Unity 2D C# - no collision inside an object

I want to know, how to get no collision inside an object. I have a big circle and inside the circle is a smaller square. When the game starts, the circle is scaling down. And what i want, is to check the collision, if circle is touching or is…
1 2 3
8 9