Search Unity

  1. We are migrating the Unity Forums to Unity Discussions by the end of July. Read our announcement for more information and let us know if you have any questions.
    Dismiss Notice
  2. Dismiss Notice

Question Sprite/input Question

Discussion in 'Getting Started' started by DiamondDogg_, Apr 22, 2024.

  1. DiamondDogg_

    DiamondDogg_

    Joined:
    Mar 9, 2024
    Posts:
    3
    Preface: I am completely new to coding and game dev, so some of this might be obvious to people who have coded before.

    What is the easiest/simplest way to have inputs in a drop down output a text description and accompanying image/sprite (sprite has multiple layers)
     
  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    39,412
    Steps to success:

    - gather the input to temporary variables

    - create and spawn a UI

    - update the UI with the values in the temporary input variables.

    Each of the above has ten billion different Youtube tutorials... GO!

    Imphenzia: How Did I Learn To Make Games: