About 51 results
Open links in new tab
  1. 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 packages …

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

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

    Jul 19, 2023 · The issue is that then when I try to connect Unity to Visual Studio Code, it doesn't fully connect and features like IntelliSense don't work. I suspect this is because I didn't install from Unity …

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

  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 · transform.rotation = Quaternion.LookRotation(Input.acceleration.normalized, Vector3.up); But i would like to rotate object like for example screen is rotating - 0, 90, 180 and 360 degrees. How …

  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. How do I run a local Unity WebGL (file:// url) build?

    The correct way to run your Unity-WebGL app locally is to use a simple server. Even Unity itself runs as a small web server run you run a WebGL build from the editor.