About 380,000 results
Open links in new tab
  1. 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 …

  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. what is the difference between Update & FixedUpdate in Unity?

    Dec 24, 2015 · What is the difference between the Update and FixedUpdate methods, and when should these methods be used?

  4. How to change text by script in Unity - Stack Overflow

    May 6, 2021 · Here in Unity, you have a component-oriented design. Text and Button are just Components of GameObject entities. Most parts of your game scripts are also Components …

  5. Unity Input.GetKeyDown(KeyCode.Space) not detecting key Press

    Aug 29, 2020 · Unity Input.GetKeyDown (KeyCode.Space) not detecting key Press Asked 5 years, 2 months ago Modified 2 years, 9 months ago Viewed 25k times

  6. Unity UI button not reacting to clicks or hovering

    30 I'm using Unity 3D's new UI system to build a pause menu for my game. Currently I'm trying to have my buttons respond to mouse clicks. Some of my hierarchy is as follows: When I click on …

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

  8. Cannot finish the game in Unity using Application.Quit()

    Dec 21, 2021 · You can quit a game in Unity by calling the Application.Quit function, which will close a running application. However, while this works to end a built application, Application …

  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. How to make an enum-like Unity inspector drop-down menu from …

    I'm making a Unity C# script that is meant to be used by other people as a character dialog tool to write out conversations between multiple game characters. I have a DialogueElement class …