|
- unity game engine - Accessing a variable from another script C# - Stack . . .
I have even read everything in unity website but I still can’t do it I know how to access another object but not another variable This is the situation : I’m in script B and I want to access the variable X from script A The variable X is boolean Can you help me ? Btw i need to update X ’s value costantly in script B , how do I do that ?
- Unity: Conflict between new InputSystem and old EventSystem
You probably tried to import a new input system package for multiple input devices compatibility These type of errors are due to conflict between old and new input system packages and are probably resolved in latest updates To resolve this issue, Go to Edit -> Project Settings -> Player ->Under Other Settings under Configuration is the option Active Input Handling Select Both Unity will
- Rotate object in Unity 3D - Stack Overflow
transform rotation = Quaternion LookRotation(Input acceleration normalized, Vector3 up); But i would like to rotate object like for example screen is rotating - 0, 90, 180 and 360 degrees How can I do it using Unity 3D?
- c# - Scale GameObject in Unity - Stack Overflow
How can I increase decrease the size of objects in Unity? Example: public GameObject sprite; public float scale = 2 0f; void ScaleResolution() { sprite = sprite*scale; epic string! }
- Unity Hub Install failed: Validation failed message whenever I try to . . .
The issue is that then when I try to connect Unity to Visual Studio Code, it doesn't fully connect and features like IntelliSense don't work I suspect this is because I didn't install from Unity Hub and the IDE isn't fully recognizing my Unity install
- Unity UI button not reacting to clicks or hovering
30 I'm using Unity 3D's new UI system to build a pause menu for my game Currently I'm trying to have my buttons respond to mouse clicks Some of my hierarchy is as follows: When I click on one of my buttons in-game nothing happens, this includes a lack of button animation that should occur when hovering
- Unity - how to make material double sided - Stack Overflow
Search for the issue gives a number of solutions, but they don't work for some reason in mine Unity3D 5 4 Like camera inside a sphere I do not see cull and or sides in material in Unity editor
- Unity - How to stop Play Mode in case of infinite loop?
Actually I wasn´t able to do anything else with Unity until I restarted it My question is, does anyone know how to stop the Play Mode in Unity gracefully? Is there any shortcut or some lines of code to force a timeout? Extra Note: I have been looking for a solution to this issue for a while, unfortunately without success
|
|
|