# Pack(SpriteAtlasPackingSettings, SpriteAtlasTextureSettings, PackerData)

> Allows custom implementation to pack sprites into textures.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.U2D](/engine/6000.7/script-reference/unityeditor/u2d.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public abstract bool Pack(SpriteAtlasPackingSettings config, SpriteAtlasTextureSettings setting, ScriptablePacker.PackerData input)
```

### Parameters

**** (\[SpriteAtlasPackingSettings]\(/engine/6000.7/script-reference/unityeditor/u2d/spriteatlaspackingsettings)): The settings to use during the packing process for this Sprite Atlas.**** (\[SpriteAtlasTextureSettings]\(/engine/6000.7/script-reference/unityeditor/u2d/spriteatlastexturesettings)): The texture settings for the packed texture generated by Sprite Atlas.**** (\[PackerData]\(/engine/6000.7/script-reference/unityeditor/u2d/scriptablepacker/packerdata)): The input data that contains sprite specific information.

### Returns

| Type                                                          | Description                            |
| ------------------------------------------------------------- | -------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | Returns true if packing is successful. |
