using UnityEngine;
using System.Collections;
using System.Collections.Generic;
namespace LunarCatsStudio.SuperCombiner
{
///
/// Stores information about a combined _material
///
[System.Serializable]
public class CombinedMaterial
{
// The combined _material
public Material material;
// The list of uvs
public Rect[] uvs;
public Rect[] uvs2;
public List scaleFactors = new List();
// List of meshes UV bound
public List meshUVBounds = new List();
// This will be true if there is only one _material to combine, is this case we simply reuse the existing _material
public bool isOriginalMaterial = false;
// The _index at which this combined _material will be displayed in the inspector. Usefull in multimaterial when some combined _material are null
public int displayedIndex;
// Editor display parameter
public bool showCombinedMaterial;
public bool showUVs;
public bool showMeshUVBounds;
}
}