Making flower of cards
How to make a curve/ arc of cards in hand...
I have used horizontal layout but it makes the cards straight in hand... Any suggestion?
Answer by Xarbrough · Jan 23, 2016 at 10:54 PM
You can write a script, that takes in an array of cards and positions them the way you want it. How exactly, totally depends on what you're using and how you want it, but you probably want to start by placing the first card somewhere, then iterate over the loop and add x percent or pixels onto a variable to offset the next card to the right, then add some rotation to it and so on. Should be a simple for-loop.
That's exactly what i do... I just passed the no of cards and vector2 position after next card to be set and the function set them accordingly.... Btw thanks a lot :)
Your answer
Follow this Question
Related Questions
Card array layout 1 Answer
[Solved] Scroll not working when elements inside have click events 3 Answers
Panel UI organisation 0 Answers
How do I set a maximum value for layout group width? 0 Answers
Layout help 0 Answers