About 384,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 …

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

  3. Can't open a project in unity, because it keeps loading infinitely

    Reinstalling Unity and Unity Hub are just desperation steps. Opening a project doesn't modify either installation and if it was corrupted in some way it's unlikely everything but loading your …

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

  5. How to make game object transparent in unity - Stack Overflow

    Jun 28, 2022 · 1 In Unity 5, the best way (TO MAKE AN OBJECT INVISIBLE) that worked for me was to: Set all of the game object's materials you want to be invisible to transparent under the …

  6. Reload Scripts Assemblies (busy for long time) Unity Freezes

    May 4, 2022 · 24 I'm Using Unity version 2020.3.32f1 & Rider as Editor. Whenever I make any changes in scripts, even small changes, Unity script assemblies take too much of time to …

  7. c# - Unity - IEnumerator's yield return null - Stack Overflow

    Jan 18, 2017 · I'm currently trying to understand IEnumerator & Coroutine within the context of Unity and am not too confident on what the "yield return null" performs. At the moment i …

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

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

  10. Rotate object in Unity 3D - Stack Overflow

    Jan 14, 2022 · 16 I can use the following code to rotate object using accelerometer. transform.rotation = Quaternion.LookRotation(Input.acceleration.normalized, Vector3.up); But i …