About 16,200,000 results
Open links in new tab
  1. c# - how to get the TextMeshPro component - Stack Overflow

    Mar 8, 2018 · Unity will look for the TextMeshPro component in the object textobj. According to your code, textobj is the first child of the object that has the ClickBub script.

  2. Field vs { get;set } vs { get=>field; set=>field = value;} - C# Unity

    May 11, 2021 · [field:SerializeField] public int Speed {get;} This will apply the SerializeField attribute to the hidden generated field and Unity should serialize it normally. Note that the …

  3. c# - How to get intellisense in Visual Studio Code for Unity …

    Sep 5, 2018 · The first is for quickly typing common Unity patterns and the second is for showing Unity Debug warnings and errors as you type instead of saving and going back to Unity and …

  4. c# - Getting mouse position in unity - Stack Overflow

    Oct 29, 2017 · I'm trying to move a object to the mouse position. But it's giving me large x value like 300 but at that place the pre placed object's x position is -4. rigidBody.velocity = new …

  5. c# - Using Getters and Setters in Unity - Stack Overflow

    May 14, 2014 · Then when I try to use my SetiRandomNumber by itself Unity complier complains that I cannot use my SetProperty since I do not have a GET property inside my SET. Should I …

  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 …

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

  8. c# - Set Text with textmesh pro - Stack Overflow

    Jan 7, 2021 · Is there any way to cycle text with textmesh script? I'm interested in cycling text so i can display different text on my 2D game. I have try the script on this website. But I don't think …

  9. Unity Failed to call Unity ID to get auth code - Stack Overflow

    Apr 25, 2023 · Unity Failed to call Unity ID to get auth code Asked 2 years, 7 months ago Modified 1 year, 1 month ago Viewed 13k times

  10. Get All children, children of children in Unity3d - Stack Overflow

    Jun 21, 2016 · 0 I always used recursion until Unity added the ability to get all children GetcomponentsInChildren as suggested by Muhammad. To also include deactivated child …