About 381,000 results
Open links in new tab
  1. 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 PlayModeStateChange.EnteredEditMode …

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

    Jul 19, 2023 · 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 …

  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. Unity UI button not reacting to clicks or hovering

    Unity UI button not reacting to clicks or hovering Asked 9 years, 3 months ago Modified 1 year, 4 months ago Viewed 117k times

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

  6. Use Unity API from another Thread or call a function in the main Thread

    Jan 2, 2020 · Unity is not Thread safe, so they decided to make it impossible to call their API from another Thread by adding a mechanism to throw an exception when its API is used from another …

  7. How To Play Animation Through Script? - Unity - Stack Overflow

    Jun 2, 2020 · How To Play Animation Through Script? - Unity Asked 5 years, 4 months ago Modified 5 years, 4 months ago Viewed 55k times

  8. In Unity, how can I pass values from one script to another?

    Dec 15, 2012 · 31 In Unity, I want one object to have a falling speed variable that all the other objects can access. For various reasons, I can't use the inbuilt gravity for what I'm trying to do. How can I …

  9. In Unity (C#), why am I getting a ... - Stack Overflow

    Jun 16, 2020 · In Unity (C#), why am I getting a NullReferenceException and how do I fix it? [duplicate] Asked 5 years, 4 months ago Modified 4 years, 6 months ago Viewed 15k times

  10. what is the difference between Update & FixedUpdate in Unity?

    Dec 24, 2015 · From the forum: Update runs once per frame. FixedUpdate can run once, zero, or several times per frame, depending on how many physics frames per second are set in the time …