約 596,000 件の結果
リンクを新しいタブで開く
  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 the code that you …

  2. Unity Hub "Install failed: Validation failed" message whenever I try to ...

    2023年7月19日 · The issue is that then when I try to connect Unity to Visual Studio Code, it doesn't fully connect and features like IntelliSense don't work. I suspect this is because I didn't install from Unity …

  3. Unity: Conflict between new InputSystem and old EventSystem

    2020年11月26日 · 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 …

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

    2021年5月6日 · 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 that are …

  5. Unity, rotating a Vector3 along an axis - Stack Overflow

    2022年12月22日 · 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 trigonometry?

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

  7. 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 one of my …

  8. 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. How can I do it …

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

    2015年7月23日 · Changing color of of gameObject in Unity Asked 10 years, 5 months ago Modified 9 years, 7 months ago Viewed 39k times

  10. c# - Scale GameObject in Unity - Stack Overflow

    2016年8月31日 · 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! }