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]; } }
protected void AddSub(SubMaterials material) { SubIDList.Add(material.Id); AddTag(material.Tags); }