# SetAllowsAlphaSplitting(bool)

> Setter for the flag that allows Alpha splitting on the imported texture when needed (for example ETC1 compression for textures with transparency).

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor](/engine/6000.0/script-reference/unityeditor.md)
* **Assembly:** UnityEditor

> **Warning:**
>
> **Deprecated.** Use UnityEditor.TextureImporter.SetPlatformTextureSettings() instead.

```csharp
public void SetAllowsAlphaSplitting(bool flag)
```

### Parameters

**** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)):&#x20;
