I’m using Random.Range to pick a random card from an array, I’d like to delete it from the array afterward, but how do I know which index number he picked at random?
var CurCard = Instantiate(P1Deck[Random.Range(0, P1Deck.Length)], CardLocations[LocationNumber].transform.position, CardLocations[LocationNumber].transform.rotation);