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. What Language is Used To Develop Using Unity - Stack Overflow

    Feb 14, 2011 · What language does one need to use when programming with Unity? Or is it an API for many languages? I read through the docs and I guess I missed the point on the language used. It …

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

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

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

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

    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 …

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

  9. Unity Failed to call Unity ID to get auth code - Stack Overflow

    Apr 25, 2023 · Unity Failed to call Unity ID to get auth code Asked 2 years, 11 months ago Modified 1 year, 5 months ago Viewed 14k times

  10. Add an image to object in Unity editor - Stack Overflow

    Jun 12, 2016 · How do I add an image to an empty object? Which component should I add? I've tried adding an "Image" component but I can't figure out what to do afterwards.