About 396,000 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 …

  2. Rotate object in Unity 3D - Stack Overflow

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

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

  4. Unity UI button not reacting to clicks or hovering

    Unity UI button not reacting to clicks or hovering Asked 9 years, 3 months ago Modified 1 year, 4 months ago Viewed 117k times

  5. How To Play Animation Through Script? - Unity - Stack Overflow

    Jun 2, 2020 · How To Play Animation Through Script? - Unity Asked 5 years, 5 months ago Modified 5 years, 5 months ago Viewed 55k times

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

    Dec 24, 2015 · From the forum: Update runs once per frame. FixedUpdate can run once, zero, or several times per frame, depending on how many physics frames per second are set in the …

  7. Unity width and height of the gameobject - Stack Overflow

    Feb 14, 2019 · There are 2 possible ways to do this. If your object has a renderer, you can use renderer.bounds.size, which will return a vector with the height and width (and depth, if it is in …

  8. Unity - How to detect collision on a child object from the parent ...

    Jan 30, 2017 · When a collision occurs, Unity will search up the hierarchy for the nearest Rigidbody and run any scripts on that same GameObject. So, the simple approach is to make …

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

  10. 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