- Home /
Question by
Etolf123 · Apr 24, 2020 at 09:04 AM ·
c#gameobjectarrayarray of gameobjects
Calculate position in an array of gameObjects
I want to get the position in an array based on which card you can take, I am making a pyramide solitaire and to access a card the two other on top has to be removed first but I don't know how to check if it's free or not. I have the cards in an array of gameObject.
pyramide.png
(115.6 kB)
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612232311im_/https://answers.unity.com/themes/thub/images/avi.jpg)