About 97,300 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. 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. …

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

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

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

  5. (unity)Is there a way to set the position of every particle in a ...

    Mar 4, 2021 · So i want to make like an aura around the player, like in warcraft 3 or path of exile, etc, using a particle system, and when the character is idle it works perfectly fine. Thing is …

  6. How to work with units (meters) in unity - Stack Overflow

    Feb 22, 2015 · Units are somewhat arbitrary in 3D engines, even Unity. Though sometimes there will be aspects of the engine that expect a certain unit to real-world scale. Picking 1 unit to = 1 …

  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. Inject dependencies in a WebAPI with Unity - Stack Overflow

    Nov 24, 2015 · With version 5 or higher for unity, you will have to add the Unity.AspNet.WebApi NuGet package. Then you can simply follow the instructions in the NuGet package to register …

  9. 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), …

  10. Get a reference to a button from script in Unity

    Sep 22, 2016 · The script is attached to a prefab that is not in a scene. The button has its tag. I tried drag and dropping the button in the inspector, but the engine won't let me.

Refresh