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

  5. Unity ScriptableObjects - Read-only fields - Stack Overflow

    May 12, 2022 · Unity ScriptableObjects - Read-only fields Ask Question Asked 3 years, 10 months ago Modified 3 years, 5 months ago

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

  7. Unity - How to stop Play Mode in case of infinite loop?

    I just got into this situation: accidental infinite loop, stuck in play mode on a scene with unsaved work, Unity unresponsive. But I was lucky enough to have Monodevelop open, even though I was mainly …

  8. 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 that are …

  9. Serialize and Deserialize Json and Json Array in Unity

    Mar 27, 2016 · Finally got serialization that supports polymorphism in Unity now thanks to this package. In Unity, just open the Package Manager windows, and then choose to add a package by name, and …

  10. Unity Scripts edited in Visual studio don't provide autocomplete

    Mar 4, 2017 · When I want to edit C# Unity scripts, they open in Visual Studio. It is supposed to provide auto complete for all Unity related code, but it doesn't work. Here you can see the missing …