private void AddTextureGenerationType(string mainGenerationType, string subGenerationType, ProceduralTextureGenerator.GenerationMethod _generationMethod) { if (typesList != null) { TextureGenerationType temp = new TextureGenerationType(mainGenerationType, subGenerationType, _generationMethod); typesList.Add(temp); } }
public TextureGenerationType(string _mainType, string _subType, ProceduralTextureGenerator.GenerationMethod _generationMethod) { mainType = _mainType; subType = _subType; generationMethod = _generationMethod; }