예제 #1
0
 private bool NewPartsInScope()
 {
     if (this.scope == null)
     {
         return(CustomizationManager.HasNewParts());
     }
     for (int i = 0; i < this.scope.Count; i++)
     {
         List <BasePart> customParts = CustomizationManager.GetCustomParts(this.scope[i], false);
         for (int j = 0; j < customParts.Count; j++)
         {
             if (CustomizationManager.IsPartNew(customParts[j]))
             {
                 return(true);
             }
         }
     }
     return(false);
 }