Author Topic: NGUI drag and drop puzzle game  (Read 1521 times)

smtabatabaie

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 13
    • View Profile
NGUI drag and drop puzzle game
« on: March 04, 2016, 04:18:38 AM »
Hi, I'm trying to make a puzzle game with NGUI. It has an inventory spot which the pieces are located and an empty canvas with multiple containers for pieces. I can make drag and drop functionality but I want to also be able to check if the correct piece has been assigned to the correct container and only if so stick the piece to the container and otherwise if it is the wrong piece return it to its initial location.
I'll appreciate if you can help me with this.
Thanks