//		public int GetMaximumAtlasDimension(){
        //			return MBVersionEditor.GetMaximumAtlasDimension();
        //		}

        public string GetPlatformString()
        {
            return(SceneBakerUtilityInEditor.GetPlatformString());
        }
        public void AddTextureFormat(Texture2D tx, bool isNormalMap)
        {
            //pixel values don't copy correctly from one texture to another when isNormal is set so unset it.
            TextureFormatInfo toFormat = new TextureFormatInfo(TextureImporterCompression.Uncompressed, false, SceneBakerUtilityInEditor.GetPlatformString(), TextureImporterFormat.RGBA32, isNormalMap);

            _SetTextureFormat(tx, toFormat, true, false);
        }