About 97,300 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: 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 …

  3. unity game engine - Create local database in unity3d - Stack …

    Sep 4, 2014 · You can look at this unity answer for some help with using sqlite. However in most situations i would use serialization instead of a local database. The advantage of a database is …

  4. 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, 1 month ago Viewed 39k times

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

    You first need to get the script component of the variable, and if they're in different game objects, you'll need to pass the Game Object as a reference in the inspector. For example, I have …

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

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

  8. Wait for a coroutine to finish before moving on with the function …

    I was working on making a unit move through a grid in Unity2d. I got the movement to work without problems. I would want the function MovePlayer to wait until the coroutine is finished …

  9. Unity, RegisterType<> and Singleton objects - Stack Overflow

    Aug 9, 2011 · When you use ResolvedParameter Unity will resolve a new object each time and pass it to the constructor. Have a look at the documentation you linked to, I think the first …

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

    Feb 14, 2019 · I have the following gameobject in unty: I need to get the width and height of it from a c#