About 492,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. Wait for a coroutine to finish before moving on with the function …

    I was working on making a unit move through a grid in Unity2d. I got the movement to work without problems. I would want the function MovePlayer to wait until the coroutine is finished …

  3. Unity - how to make material double sided - Stack Overflow

    Search for the issue gives a number of solutions, but they don't work for some reason in mine Unity3D 5.4. Like camera inside a sphere I do not see cull and/or sides in material in Unity …

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

    You first need to get the script component of the variable, and if they're in different game objects, you'll need to pass the Game Object as a reference in the inspector. For example, I have …

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

  6. Change the speed of animation at runtime in unity c#

    Sep 16, 2016 · I want to change the speed of animation to my desired speed during runtime of a program. I have an c# script and animator controller attached to the game object. The default …

  7. Unity UI button not reacting to clicks or hovering

    29 I'm using Unity 3D's new UI system to build a pause menu for my game. Currently I'm trying to have my buttons respond to mouse clicks. Some of my hierarchy is as follows: When I click on …

  8. c# - Getting mouse position in unity - Stack Overflow

    Oct 29, 2017 · I'm trying to move a object to the mouse position. But it's giving me large x value like 300 but at that place the pre placed object's x position is -4. rigidBody.velocity = new …

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

  10. Auto Complete Not Working In New Visual Studio 2022 For UNITY

    May 1, 2022 · I needed to delite it and reinstall it becouse of somthing and when I reinstalld it I installed new 2022 version. Ever since auto complete isn't working. I have downloaded the …