예제 #1
0
 public void AddSub(SubMaterials material)
 {
     SubIDList.Add(material.Id);
     AddTag(material.Tags);
     for (int i = 0; i < _colorVector.Length; i++)
     {
         _colorVector[i] += material.color[i];
     }
 }
예제 #2
0
 protected void AddSub(SubMaterials material)
 {
     SubIDList.Add(material.Id);
     AddTag(material.Tags);
 }