Whats with the "aCardsFlipped = new ArrayList();"? afaik ArrayList is only used in c# in place of unityscripts Array. The logic of your code seems correct, but it wont work. You must first Add() an element to the array before trying to access it, like this: function Start() { playerCanClick = true; aCards = new Array();…
Hey guys, I know this isn't technically a programming forum, but I think what I'm looking at is pretty generic in scripting terms; also pretty basic stuff... needless to say I'm struggling to grasp the concept right now. So I'm working on a little card-flipping game to get the hang of both Unity and programming. Along with…