About 92,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 Hub "Install failed: Validation failed" message whenever I try …

    Feb 21, 2024 · In Unity Hub, go to preferences -> installs. Make note of the "Downloads location" (Might have to move it out to a folder you know doesn't get deleted) Outside of the Unity Hub, …

  3. Unity: Conflict between new InputSystem and old EventSystem

    Nov 26, 2020 · Unity will restart. Now your problem should be solved. You will be able to use old input system packages and the new ones also simultaneously. Cheers. P.S. Click on this …

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

    Jun 2, 2020 · I am making a game and I made an animation for the win screen. According to all the tutorials I've watched, the animation is played when you activate the GameObject. …

  5. c# - Making a timer in Unity - Stack Overflow

    Nov 4, 2018 · I have a problem in Unity. I need a countdown in my project. But this countdown will count 2 times. For example, 3 seconds a job will be done, 2 seconds another job will be done …

  6. How to prepare a Unity project for git (step-by-step)?

    Sep 16, 2022 · On the Unity Editor open your project and: Enable External option in Unity → Preferences → Packages → Repository (only if Unity ver < 4.5) Switch to Visible Meta Files in …

  7. Rotate an object around its center point in unity 3d

    Sep 21, 2012 · The two common ways to rotate an object are. The rotate attribute in the transform. Using this one you can set the exact coordinates for the target object rotation.

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

    Jul 23, 2015 · Okay so I have this code. void Start () { gameObject.GetComponent&lt;Renderer&gt; ().material.color = Color.green; } I expected my …

  9. How to pass data (and references) between scenes in Unity

    1. Use the static keyword.. Use this method if the variable to pass to the next scene is not a component, does not inherit from MonoBehaviour and is not a GameObject then make the …

  10. The imported modle's textures doesn't load in Unity

    Feb 24, 2023 · EDIT: I found the solution, not sure if the comments meant to tell me to do that, but in the end I found it on my own. Basically, you have to click on the texture (in the unity assets), …