public MaterialInfo(Material mat, int slotIndex) { MaterialSlotIndices = new List <int>(); AddSlotIndex(slotIndex); Name = mat.name; Texture = RendererUtility.GetMainTexture(mat); }
public MaterialInfo(Material mat, int slotIndex) { MaterialSlotIndices = new List <int>(); AddSlotIndex(slotIndex); Name = mat.name; Texture = RendererUtility.GetMainTexture(mat); }