Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

drag and drop UI onto sprite

Discussion in 'Getting Started' started by lordgabon, Jan 8, 2023.

  1. lordgabon

    lordgabon

    Joined:
    Jan 6, 2023
    Posts:
    1
    Currently im working on a game where i drag a card and drop it into a gameObject(enemy) and it should call a function that only work on that object

    can someone help me what should i do? i'm pretty new with unity engine so i need some direction
     
  2. AngryProgrammer

    AngryProgrammer

    Joined:
    Jun 4, 2019
    Posts:
    244
    Like any project, break the task down into smaller topics. You need a drag and drop model, master the topic on the side scene, and then implement it matching what you have.