private int RefreshObservers() { Observers.PurgeDestroyed(); var refreshItems = this.GetComponents <IOutfitObserver>(); var count = 0; if (refreshItems.Length > 0) { // Add new items to end. foreach (var refreshItem in refreshItems) { if (!Observers.Contains(refreshItem)) { Observers.Add(refreshItem); count++; } } } return(count); }