Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: kallavun on September 24, 2014, 03:43:07 PM

Title: Drag and Drop (Noob Problem, Problems)
Post by: kallavun on September 24, 2014, 03:43:07 PM
Hi all ngui users.
i am new to unity, ngui and English ;D

i have a problem about drag and drop. i searched for solutions but i cant find a solution. i don't know how to tell my problem clearly. so i draw it, sorry for that  :'(

Thanks already.
Title: Re: Drag and Drop (Noob Problem, Problems)
Post by: kallavun on September 25, 2014, 07:22:29 AM
Anyone? Pleas Help
Title: Re: Drag and Drop (Noob Problem, Problems)
Post by: kallavun on September 25, 2014, 10:39:30 AM
how to limit grid or container for one drop only?
Title: Re: Drag and Drop (Noob Problem, Problems)
Post by: ArenMook on September 25, 2014, 07:43:19 PM
If you want to prevent drag & drop interaction, simply disable the collider or the drag & drop script itself.
Title: Re: Drag and Drop (Noob Problem, Problems)
Post by: kallavun on September 26, 2014, 10:55:37 AM
@ArenMook how can i disable collider after 5 drops? i will make a skill select screen, player can choose 5 skills.

and is there a method to know which item dropped to  grid or container?
Title: Re: Drag and Drop (Noob Problem, Problems)
Post by: ArenMook on September 27, 2014, 06:22:24 PM
After 5 drops? You will need to write a script that will keep track of this.

"Method to know which item dropped to grid or container"? Not sure what you mean.