Card array layout
Hey, I'm creating a tcg (trading card game) and I would like to know how can I change the layout of the cards while playing. I mean that the cards will be spread in line aligned to the center of the screen both vertically and horizontaly, on a canvas, and when I draw/dismiss a card I would like the cards to fill in the space and align again in game. How can I do that? any ideas?
maxresdefault.jpg
(137.0 kB)
Comment
Answer by yukamui · Jul 02, 2018 at 07:43 PM
Hi, maybe you can use this custom layout group to achieve what you need.
Your answer
Follow this Question
Related Questions
5.3.3 Get Position and Size of a Panel 1 Answer
GridLayoutGroup doesn't fit Canvas. 0 Answers
Attach UI elements to screen corners 1 Answer
Making flower of cards 1 Answer