About 65,400 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 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 …

  3. How to make game object transparent in unity - Stack Overflow

    Jun 28, 2022 · 1 In Unity 5, the best way (TO MAKE AN OBJECT INVISIBLE) that worked for me was to: Set all of the game object's materials you want to be invisible to transparent under the …

  4. Unity: NullReferenceException: Object reference not set to an …

    Jan 29, 2019 · I am following an Unity tutorial. I face a problem when trying to detect collision in the game. This is the error: NullReferenceException: Object reference not set to an instance of …

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

    Jun 2, 2020 · I am making a game and I made an animation for the win screen. According to all the tutorials I've watched, the animation is played when you activate the GameObject. …

  6. Sending http requests in C# with Unity - Stack Overflow

    Sep 2, 2017 · How can I send HTTP GET and POST requests in C# with Unity? What I want is: send json data in post request (I use Unity serializer, so no need in new one, I just want to …

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

  8. Changing color of of gameObject in Unity - Stack Overflow

    Jul 23, 2015 · Changing color of of gameObject in Unity Asked 9 years, 10 months ago Modified 9 years ago Viewed 39k times

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

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

Refresh