From 5565022e420b7e70e3b014f197e68aad7c9f371d Mon Sep 17 00:00:00 2001 From: Harald Csaszar Date: Wed, 8 Jan 2020 21:29:28 +0100 Subject: [PATCH] [unity] minor: added parameter description comment. --- .../Spine/Runtime/spine-unity/Utility/AtlasUtilities.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/spine-unity/Assets/Spine/Runtime/spine-unity/Utility/AtlasUtilities.cs b/spine-unity/Assets/Spine/Runtime/spine-unity/Utility/AtlasUtilities.cs index e88e1fc0b..8d3863edf 100644 --- a/spine-unity/Assets/Spine/Runtime/spine-unity/Utility/AtlasUtilities.cs +++ b/spine-unity/Assets/Spine/Runtime/spine-unity/Utility/AtlasUtilities.cs @@ -319,6 +319,10 @@ namespace Spine.Unity.AttachmentTools { /// When additionalTexturePropertyIDsToCopy is non-null, /// this array will be filled with the resulting repacked texture for every property, /// just as the main repacked texture is assigned to outputTexture. + /// When additionalTexturePropertyIDsToCopy is non-null, + /// this array will be used as TextureFormat at the Texture at the respective property. + /// When additionalTextureFormats is null or when its array size is smaller, + /// textureFormat is used where there exists no corresponding array item. public static Skin GetRepackedSkin (this Skin o, string newName, Material materialPropertySource, out Material outputMaterial, out Texture2D outputTexture, int maxAtlasSize = 1024, int padding = 2, TextureFormat textureFormat = SpineTextureFormat, bool mipmaps = UseMipMaps, bool useOriginalNonrenderables = true, bool clearCache = false,