About 51 results
Open links in new tab
  1. How to make the script wait/sleep in a simple way in unity

    There are many ways to wait in Unity. They are really simple but I think it's worth covering most ways to do it: 1.With a coroutine and WaitForSeconds. This is by far the simplest way. Put all the code that …

  2. Unity: Conflict between new InputSystem and old EventSystem

    Nov 26, 2020 · You probably tried to import a new input system package for multiple input devices compatibility. These type of errors are due to conflict between old and new input system package

  3. What Language is Used To Develop Using Unity - Stack Overflow

    Feb 14, 2011 · What language does one need to use when programming with Unity? Or is it an API for many languages? I read through the docs and I guess I missed the point on the language used. It …

  4. Unity Hub "Install failed: Validation failed" message whenever I try to ...

    Jul 19, 2023 · Unity Hub is missing permissions, and says "user did not agree to the UAC prompt and the process was not started". How can I fix this? Here are the relevant logs: …

  5. How to fix Unity hub not opening unity project when clicked?

    May 3, 2022 · None of these answers really explain how to identify the underlying issue when encountering these symptoms. If you open your Task/Processes manager before you try to launch …

  6. c# - Scale GameObject in Unity - Stack Overflow

    Aug 31, 2016 · How can I increase / decrease the size of objects in Unity? Example: public GameObject sprite; public float scale = 2.0f; void ScaleResolution() { sprite = sprite*scale; //epic string! }

  7. what is the difference between Update & FixedUpdate in Unity?

    Dec 24, 2015 · FixedUpdate is used for being in-step with the physics engine, so anything that needs to be applied to a rigidbody should happen in FixedUpdate. Update, on the other hand, works …

  8. c# - Rotate object in Unity 3D - Stack Overflow

    Jan 14, 2022 · But i would like to rotate object like for example screen is rotating - 0, 90, 180 and 360 degrees. How can I do it using Unity 3D?

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

    Unity will always destroy its Object even if they are declared with the static keyword. See #2 for a workaround. 2.Use the DontDestroyOnLoad function. You only need to use this if the data to keep or …

  10. 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 variable X from …