Summary
Saves `texture` as a PNG at `assetPath`.
- Assembly
- Weaver
.dll - Namespace
- Weaver
.Editor .Procedural - Containing Type
- TextureGenerator
Syntax
public static void Save(Texture2D texture, string assetPath)
Parameters
| Name | Type | Description |
|---|---|---|
| texture | Texture2D | |
| assetPath | string |
Return Value
| Type | Description |
|---|---|
| void |