public void Read(DecimaCoreFile file, DecimaManagerCollection manager) { TextureData.ElementAt(0).Data.Name = Name1; if (TextureData.Length == 2) { TextureData.ElementAt(1).Data.Name = Name2; } Textures = TextureData.Select(x => x.Data).ToArray(); }
public void Read(DecimaCoreFile file, DecimaManagerCollection manager) { TextureData.ElementAt(0).Data.Name = Name1; if (TextureData.Length == 2) { TextureData.ElementAt(1).Data.Name = Name2; } Textures = TextureData.Select(x => x.Data).ToArray(); }