/* * public void setDice() * { * // Get this Card's Zone * Die[] d = this.transform.parent.parent.GetComponent<Zone>().getZoneDice(); * * totalDice = d.Length; * diceOnCard = totalDice; * * foreach (Die die in d) * { * die.card = this; * die.setDieColor(cardInfo.outsideColor, cardInfo.insideColor); * } * // Set each Die to this Card's colors * } */ public Side getSide(int i) { //Debug.Log(i); return(Sides.getSide((int)sides[i])); }