Class TexturePacker
Namespace: WeaverCore.Editor
Assembly: WeaverCore.Editor.dll
Syntax
public static class TexturePacker
  Methods
| Edit this page View SourcePackTextures(FileInfo, List<Texture2D>, int, bool)
Used to pack multiple textures into one
Declaration
public static IEnumerator PackTextures(FileInfo path, List<Texture2D> textures, int padding = 0, bool deleteOld = false)
  Parameters
| Type | Name | Description | 
|---|---|---|
| FileInfo | path | The output path of the final texture  | 
      
| List<Texture2D> | textures | The textures to pack  | 
      
| int | padding | The amount of padding between sprites in the final texture  | 
      
| bool | deleteOld | Should the original texture be deleted when done?  | 
      
Returns
| Type | Description | 
|---|---|
| IEnumerator |