/// <summary>
 /// Pulls out the 8 next icons and adds them to the options list
 /// </summary>
 /// <param name="dressOptions">Dress options to be populated</param>
 /// <param name="startingIndex">The index to start gathering icons from</param>
 public void PopulateMenu(List <Image> dressOptions, int startingIndex)
 {
     for (int iDressOption = 0; iDressOption < 8; iDressOption++)
     {
         if (iDressOption + startingIndex < DDAssetLibraryManager.GetOptionAmount(partType))
         {
             dressOptions[iDressOption].Source = DDAssetLibraryManager.GetPartIcon(partType, iDressOption + startingIndex);
         }
         else
         {
             dressOptions[iDressOption].Source = "";
         }
     }
 }
 /// <summary>
 /// Adds the part selected to the model. Note if the part is already selected it will remove the selction
 /// </summary>
 /// <param name="index">Index of the part</param>
 public virtual void SelectPart(int index)
 {
     if (renderer.Source != DDAssetLibraryManager.GetPartImage(partType, index))
     {
         if (index < DDAssetLibraryManager.GetOptionAmount(partType))
         {
             renderer.Source = DDAssetLibraryManager.GetPartImage(partType, index);
         }
     }
     else
     {
         renderer.Source = "";
     }
 }
 override public void SelectPart(int index)
 {
     if (renderer.Source != DDAssetLibraryManager.GetPartImage(partType, index))
     {
         if (index < DDAssetLibraryManager.GetOptionAmount(partType))
         {
             renderer.Source     = DDAssetLibraryManager.GetPartImage(partType, index);
             backRenderer.Source = DDAssetLibraryManager.GetPartImage(DressPartType.BackSleeves, index);
         }
     }
     else
     {
         renderer.Source = "";
     }
 }
 public int GetLength()
 {
     return(DDAssetLibraryManager.GetOptionAmount(partType));
 }