About 51 results
Open links in new tab
  1. How to make the script wait/sleep in a simple way in unity

    There are many ways to wait in Unity. They are really simple but I think it's worth covering most ways to do it: 1.With a coroutine and WaitForSeconds. This is by far the simplest way. Put all the code that …

  2. Unity Hub "Install failed: Validation failed" message whenever I try to ...

    Jul 19, 2023 · Unity Hub is missing permissions, and says "user did not agree to the UAC prompt and the process was not started". How can I fix this? Here are the relevant logs: …

  3. Unity: Conflict between new InputSystem and old EventSystem

    Nov 26, 2020 · 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 …

  4. How to install android build support for unity manually (unity hub)?

    Nov 17, 2018 · I used Unity Hub downloaded latest Unity Editor, it works fine for editor,document and language packs, but can not download android build support. Just told me download failed many …

  5. 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 …

  6. 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 …

  7. Unity Input.GetKeyDown(KeyCode.Space) not detecting key Press

    Aug 29, 2020 · Unity Input.GetKeyDown (KeyCode.Space) not detecting key Press Asked 5 years, 7 months ago Modified 3 years, 2 months ago Viewed 25k times

  8. How can i serialize property of c# in Unity - Stack Overflow

    Dec 14, 2022 · Unity generally does not care about public properties and won't show them in the Editor (unless you are using the problematic field:). Remember, you are using Unity, a middleware and CLR …

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

    Jul 23, 2015 · Changing color of of gameObject in Unity Asked 10 years, 8 months ago Modified 9 years, 10 months ago Viewed 40k times

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

    Dec 22, 2022 · For example, I have a Vector3 and I waant to rotate it relatively Y-axis (Vector3.up). Can I do it using built-in methods, or should I use coordinate geometry and trigonometry?