- Home /
Manually arranging cards in a Grid Layout Group
Basically I am able to arrange cards in a horizontal layout group easily using siblingindex etc.. But in a grid layout group where the last siblingindex in a row has a higher transform.x than the next siblingindex because it is at the beginning of a new row, my original solution is not working anymore.
I want to be able to drag and drop a card when its transform.x is more than the next card or less than the previous card. there is of course a placeholder that moves around with the card.
Any solution for this is deeply appreciated.
Your answer

Follow this Question
Related Questions
How to make reference from prefab to variable via C#/JavaScript? 1 Answer
can't drag and drop to the scene 1 Answer
How to Simplify My Drag and Drop Inventory 1 Answer
Modular building system. 0 Answers
Drag and Drop on RTS camera 1 Answer