WaveEngine.Components.UI.WrapPanel.Remove C# (CSharp) Méthode

Remove() public méthode

Removes the specified UI.
UI component is null.
public Remove ( UIBase ui ) : void
ui UIBase The UI.
Résultat void
        public void Remove(UIBase ui)
        {
            if (ui == null)
            {
                throw new ArgumentNullException("UI component is null.");
            }

            this.entity.RemoveChild(ui.Entity.Name);
        }