Ejemplo n.º 1
0
        void RefreshCommonLabels()
        {
            CommonLabels.Clear();
            CommonLabels.AddRange(((Labeling)serializedObject.targetObjects[0]).labels);

            foreach (var obj in serializedObject.targetObjects)
            {
                CommonLabels = CommonLabels.Intersect(((Labeling)obj).labels).ToList();
            }
        }
Ejemplo n.º 2
0
 void RemoveAddedLabelsFromSuggestedLists()
 {
     m_SuggestedLabelsBasedOnName.RemoveAll(s => CommonLabels.Contains(s));
     m_SuggestedLabelsBasedOnPath.RemoveAll(s => CommonLabels.Contains(s));
 }