About 406,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. Use Unity API from another Thread or call a function in the main …

    Jan 2, 2020 · Unity is not Thread safe, so they decided to make it impossible to call their API from another Thread by adding a mechanism to throw an exception when its API is used from …

  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 - How to stop Play Mode in case of infinite loop?

    Actually I wasn´t able to do anything else with Unity until I restarted it. My question is, does anyone know how to stop the Play Mode in Unity gracefully? Is there any shortcut or some …

  5. What is a NullReferenceException, and how do I fix it?

    I have some code and when it executes, it throws a NullReferenceException, saying: Object reference not set to an instance of an object. What does this mean, and what can I do to fix …

  6. Change the UI image using script in unity c# - Stack Overflow

    I want to change the UI image in random order. I have a gameobject in UI (canvas) containing Image component and it has null image initially. I have a script attached to it (gameobject) to …

  7. Unity Scene rotation arrows went missing suddenly

    How to enable the one that allows me to rotate the scene during development in unity (Scene Gizmo), which is the one located at the top right of the scene. That one suddenly disappears …

  8. import - Unity materials appear broken - Stack Overflow

    I've recently imported a Unity project that references .fbx file. When I imported the project (which was created by another user) all surfaces are pink. Having looked at all the materials the fol...

  9. Unity - converting a Quaternion to a Vector3 - Stack Overflow

    Unity - converting a Quaternion to a Vector3 Asked 5 years, 3 months ago Modified 5 years, 3 months ago Viewed 18k times

  10. In Unity, how can I pass values from one script to another?

    Dec 15, 2012 · 31 In Unity, I want one object to have a falling speed variable that all the other objects can access. For various reasons, I can't use the inbuilt gravity for what I'm trying to do. …