예제 #1
0
 public void AddColor(PossibleDisplay display)
 {
     if (!m_colorsNeeded.Contains(m_colors[display]))
     {
         m_colorsNeeded.Add(m_colors[display]);
         m_image.color = CombineColors(m_colorsNeeded);
     }
 }
예제 #2
0
 public void RemoveColor(PossibleDisplay display)
 {
     m_colorsNeeded.Remove(m_colors[display]);
     m_image.color = CombineColors(m_colorsNeeded);
 }