About 76,800 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 - stop animation loop - Stack Overflow

    Aug 30, 2015 · How can I stop make unity continuous looping what I have done 1- I add animator to my object. 2- I create animator controller 3- I create my animation 4- finally link my …

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

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

    I have even read everything in unity website but I still can’t do it. I know how to access another object but not another variable. This is the situation : I’m in script B and I want to access the …

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

  6. How to select GPUs for rendering in Unity? - Stack Overflow

    Jul 7, 2016 · I am using Unity3D for rendering a scene and my machine has multiple GPUs. Could someone let me know how I can select a GPU for rendering? For example, I want to use the …

  7. Unity: How to instantiate a prefab by string name to certain …

    Mar 9, 2018 · I saved all the string names in a List to save all the prefab vehicles that the player owns. The string names are the prefab names. How would I go by on spawning/ instantiating …

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

    Jul 23, 2015 · Changing color of of gameObject in Unity Asked 9 years, 11 months ago Modified 9 years ago Viewed 39k times

  9. Unity. How to turn the player in the direction of movement

    Jul 9, 2020 · Unity. How to turn the player in the direction of movement Asked 4 years, 11 months ago Modified 4 years, 11 months ago Viewed 5k times

  10. Rotate object in Unity 3D - Stack Overflow

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

Refresh