HasVertexAttribute(Sprite, VertexAttribute)
Checks if a specific channel exists for this Sprite.
Read time 1 minuteLast updated 11 days ago
Definition
- Type: Method
- Namespace: UnityEngine.U2D
- Assembly: UnityEngine.CoreModule
public static bool HasVertexAttribute(this Sprite sprite, VertexAttribute channel)
Parameters
Returns
Type | Description |
|---|---|
| bool | True if the channel exists. |