Search Unity

Question Script display prefabs

Discussion in 'Scripting' started by Tjelsa22, Feb 13, 2024.

  1. Tjelsa22

    Tjelsa22

    Joined:
    Feb 25, 2022
    Posts:
    1
    Hi, I need help.

    So what I want to happen from the script is it function to display the prefabs based on the information from database,

    For example mysql database GGWP, table user, column tokenid = monster123.prefabs

    Then it will show the prefabs of monster123.prefabs based to where I will point on the ui.

    Like the script will read the information from database, and based on the information, it will display it to the UI

    What command should i use?
     
  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    38,697
    Here are some notes about Unity UI choices:

    https://docs.unity3d.com/Manual/UIToolkits.html

    I would recommend UGUI personally as it is more mature and has more tutorials available for it.

    Otherwise if this is a language question, get yourself busy with some C# tutorials.