About 502,000 results
Open links in new tab
  1. Creating Basic UI with uGUI - Unity Learn

    Sep 13, 2020 · With the introduction of the UI system, new Components have been added that will help create GUI specific functionality. Some of those elements include text, images, buttons, etc. In this tutorial, you will learn to create and use basic UI. Track your progress and get personalized recommendations.

  2. Text and Image on GUILayout.Button? (C#) - Unity Discussions

    Oct 27, 2014 · The textfield has the size of the avatar image and use the image as background. Then the text alignment setting should be centerbottom. That should combine them good.

  3. error CS0619: 'GUIText' is obsolete: 'GUIText has ... - Unity

    Feb 12, 2020 · I get the following error in unity 2019.3 error CS0619: ‘GUIText’ is obsolete: ‘GUIText has been removed. Use UI.Text instead.’ I changed 2 lines of code (see picture) but the other 2 lines stll gives errors.

  4. c# - How to integrate images into text lines in Unity? - Game ...

    May 11, 2021 · To convert text to images. This works all the time for many years already. You can create sprite-sheet with images of all the letters and write function that places image of character instead of actual character. Are you using the classic …

  5. UI Components - Unity Learn

    Apr 13, 2022 · This tutorial covers User Interface (UI) Components available in Unity, including Canvas, Button, Image, Text, Slider, and more.

  6. Best way to represent Text/Image inside a GUI.Button

    Aug 7, 2013 · I’m just trying to display text beside my image in a pleasing way, is it that hard? To have a full control, you should make a composite control containing both icon and label: Extending GUI. This is a beginner “GUI” question. I have items in my inventory and I would like to display (for my weapons) the number of bullets they have.

  7. Manual: Get started with text - Unity

    TextCore allows advanced styling capabilities and can render text clearly at various point sizes and resolutions. It takes advantage of Signed Distance Field (SDF) font rendering, which can generate font assets that look crisp even when transformed and magnified.

  8. unity - How to create gui image with script - Game Development …

    Jun 15, 2015 · Here's a simple script showing how. foreach (Sprite currentSprite in Sprites) GameObject NewObj = new GameObject(); //Create the GameObject. Image NewImage = NewObj.AddComponent<Image>(); //Add the Image Component script. NewImage.sprite = currentSprite; //Set the Sprite of the Image Component on the new GameObject.

  9. c# - Draw an image in Unity onGui - Stack Overflow

    Aug 20, 2015 · How can I draw an image inside onGui function in Unity? I am using the following code in order to draw some textField. However how can I draw an image in a box?

  10. Manual: IMGUI Basics - Unity

    There is a third option which allows you to display images and text together in a GUI Control. You can provide a GUIContent object as the Content argument, and define the string and image to be displayed within the GUIContent.

Refresh