public MB_TexSet(MeshBakerMaterialTexture[] tss, Vector2 uvOffset, Vector2 uvScale) { ts = tss; obUVoffset = uvOffset; obUVscale = uvScale; allTexturesUseSameMatTiling = false; matsAndGOs = new MatsAndGOs(); matsAndGOs.mats = new List <MatAndTransformToMerged>(); matsAndGOs.gos = new List <GameObject>(); }
public MB_TexSet(MeshBakerMaterialTexture[] tss, Vector2 uvOffset, Vector2 uvScale, MB_TextureTilingTreatment treatment) { ts = tss; tilingTreatment = treatment; obUVoffset = uvOffset; obUVscale = uvScale; allTexturesUseSameMatTiling = false; thisIsOnlyTexSetInAtlas = false; matsAndGOs = new MatsAndGOs(); matsAndGOs.mats = new List<MatAndTransformToMerged>(); matsAndGOs.gos = new List<GameObject>(); pipelineVariation = new PipelineVariationSomeTexturesUseDifferentMatTiling(this); }