About 75,900 results
Open links in new tab
  1. How to fix Unity hub not opening unity project when clicked?

    May 3, 2022 · If you open your Task/Processes manager before you try to launch your Unity project from Unity Hub, you’ll notice that the a new Unity process actually starts before exiting …

  2. Unity 6 - can't set the sprite of an UI image - Stack Overflow

    Dec 5, 2024 · I've always been able to drag and drop a sprite into the inspector, setting the sprite of a UI image to the sprite. But I can't this time, even though the sprite is set as Sprite(2D and …

  3. How to load next scene when pressed a button while playing in unity

    Dec 2, 2021 · You can use SceneManager.LoadScene() method to load the Scene by its name or index in Build Settings.. The SceneManager.GetActiveScene().buildIndex gives you the index …

  4. unity game engine - Accessing a variable from another script C

    Can you tell me how to access a variable of a script from another script ? I have even read everything in unity website but I still can’t do it. I know how to access another object but not …

  5. Unity, rotating a Vector3 along an axis - Stack Overflow

    Dec 22, 2022 · unity-game-engine; Share. Improve this question. Follow asked Dec 22, 2022 at 21:39. user20640763 ...

  6. How to make the script wait/sleep in a simple way in unity

    In Unity when exiting Play mode and returning to Edit mode you can make use of EditorApplication.playModeStateChanged specifically …

  7. c# - In unity script, how to "rotate" and "rotate to" around pivot ...

    Oct 10, 2018 · and even worse, in some case, i hope rotate to like set rotate in unity editor inspector, i use following code: transform.rotation = Quaternion.Euler(new Vector3(0, 0, 90)) I …

  8. Changing color of of gameObject in Unity - Stack Overflow

    Jul 23, 2015 · Okay so I have this code. void Start () { gameObject.GetComponent<Renderer> ().material.color = Color.green; } I expected my …

  9. Unity: Conflict between new InputSystem and old EventSystem

    Nov 26, 2020 · Unity will restart. Now your problem should be solved. You will be able to use old input system packages and the new ones also simultaneously. Cheers. P.S. Click on this …

  10. How to change text by script in Unity - Stack Overflow

    May 6, 2021 · Here in Unity, you have a component-oriented design. Text and Button are just Components of GameObject entities. Most parts of your game scripts are also Components …

  11. Some results have been removed