/// <summary> /// Set the first six chips of folder list /// to the selection screen /// </summary> void SetSelectionScreenChips() { string[] equippedFolderArray; equippedFolderArray = equippedFolder.ToArray(); //Checking if folder array has enough available chips if (equippedFolderArray.Length >= 6) { selectionChips = new string[6]; } else { selectionChips = new string[equippedFolderArray.Length]; } //Checking if there is any available chips on folder if (selectionChips.Length > 0) { for (int i = 0; i < selectionChips.Length; i++) { selectionChips[i] = equippedFolderArray[i]; } battleHud.SetChipList(selectionChips); } else { battleHud.SetChipList(); } }