UI Questions

3

Hello, guys! I have a question. When I am pausing my game, I want it to freeze and when unpausing I want it to unfreeze. I know basically how to achieve that but I don’t know how to make that, when I ...
Shearer asked 8/11, 2023 at 18:33

9

NullReferenceException: Object reference not set to an instance of an object UnityEditor.PropertyEditor.DrawEditors (UnityEditor.Editor[] editors) (at <4f969f18b6984883abf0f762caf9325d>:0) Unity...
Moribund asked 9/4, 2021 at 21:22

3

Hey guys, I’ve been trying to figure out how block clicks in my game scene with UI objects, but I’m running into problems. I’ve set up this little debug code here if( Input.GetMouseButtonDown(0) ) { ...
Toggle asked 17/3, 2016 at 17:29

3

Solved

4

I trying to write an editor script to copy/paste whole content of a GUI style because I need refactoring GUI part of my project. But I don't know how to start and firstly make a context menu on a GUI...
Conveyancing asked 7/1, 2010 at 14:43

2

Solved

Hello Forum, I’m trying to make a menu that is built at runtime. for (int i = 0; i < bd.ItemCount(); i++) { buttons.Add((GameObject)Instantiate(button)); buttons*.transform.SetParent(transf...
Scrooge asked 13/1, 2015 at 13:28

0

I am currently using the Sprite Library and Sprite Resolver components on my in-game player object, which has a Sprite Renderer. This is very useful for swapping out the animation sprites all at once ...
Geometric asked 17/7, 2023 at 16:14

10

Solved

I have 2 canvases, and each one has a button. When I click one button on one canvas It didn’t let me click on the button on another canvas. I used Debug.Log to confirm the onclick event wasn’t fired, ...
Cinema asked 30/6, 2023 at 13:45
1

© 2022 - 2024 — McMap. All rights reserved.