Clear() public method

public Clear ( ) : void
return void
 private void fillAvailableTextures(ComboBox comboBox)
 {
     comboBox.Clear();
     SpriteList possibleSprites = new SpriteList();
     if (this.sceneOrGroup.Text == "Entire Scene")
     {
         possibleSprites = GameData.Scene.Sprites;
     }
     else if (GameData.EditorLogic.CurrentSprites.Count != 0)
     {
         ((Sprite)GameData.EditorLogic.CurrentSprites[0].TopParent).GetAllDescendantsOneWay(possibleSprites);
     }
     List<Texture2D> ta = new List<Texture2D>();
     foreach (Sprite s in possibleSprites)
     {
         if (!ta.Contains(s.Texture))
         {
             ta.Add(s.Texture);
         }
     }
     foreach (Texture2D t in ta)
     {
         comboBox.AddItem(FileManager.MakeRelative(t.Name, FileManager.RelativeDirectory));
     }
 }
 private void fillAvailableSprites(ComboBox comboBox)
 {
     comboBox.Clear();
     SpriteList possibleSprites = new SpriteList();
     if (this.sceneOrGroup.Text == "Entire Scene")
     {
         possibleSprites = GameData.Scene.Sprites;
     }
     else if (GameData.EditorLogic.CurrentSprites.Count != 0)
     {
         ((Sprite)GameData.EditorLogic.CurrentSprites[0].TopParent).GetAllDescendantsOneWay(possibleSprites);
     }
     comboBox.AddItem("<No Root>");
     foreach (Sprite s in possibleSprites)
     {
         comboBox.AddItem(s.Name);
     }
 }