About 548,000 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 PlayModeStateChange.EnteredEditMode and/or PlayModeStateChange.ExitingPlayMode at which point you can Cancel your tasks. I plonk all this in my class EditorWatcher...

  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 packages and are probably resolved in latest updates. To resolve this issue, Go to Edit -> Project Settings -> Player ->Under Other Settings under Configuration is the option Active Input Handling. …

  3. Unity - how to make material double sided - Stack Overflow

    Search for the issue gives a number of solutions, but they don't work for some reason in mine Unity3D 5.4. Like camera inside a sphere I do not see cull and/or sides in material in Unity editor. ...

  4. Unity - How to stop Play Mode in case of infinite loop?

    I just got into this situation: accidental infinite loop, stuck in play mode on a scene with unsaved work, Unity unresponsive. But I was lucky enough to have Monodevelop open, even though I was mainly using Sublime for scripting.

  5. Canvas too big for the camera in Unity - Stack Overflow

    Mar 17, 2017 · To force your Hierarchy Canvas UI to the same resolution as the Camera View in your Unity Editor Scene window resolution (i.e. not ridiculously massive), or in other words get the Canvas to fit into the Camera size in the Scene, do the following: Set the Canvas component's Render Mode to Screen Space - Camera. Make sure you select or drag the relevant Camera …

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

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

  7. 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! }

  8. 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 script A. The variable X is boolean. Can you help me ? Btw i need to update X ’s value costantly in script B , how do I do that ?

  9. No android device found in unity - Stack Overflow

    Apr 24, 2016 · Thank you! I had a similar problem via TCPIP - in my case adb from the command line was connected but unity (2019.4.18f1) on PC couldn't find the device and in fact every time I refreshed the devices in UNITY it disconnected the TCP adb connection. Used your suggestion and switched from the UNITY built-in adb to android studios adb and it worked!

  10. How to take a screenshot of the game view in Unity

    Feb 11, 2022 · Select "Unity Registry" instead Type "Recorder" in the search box Select the Recorder and click Install in the lower right corner of the window That's about all you need to get everything set up and hopefully the options make sense. The main thing to be aware of that setting "Recording Mode" to "Single" will take a single screenshot (with F10)