Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


HasVertexAttribute(Sprite, VertexAttribute)

Checks if a specific channel exists for this Sprite.
Read time 1 minuteLast updated 12 days ago

Definition

public static bool HasVertexAttribute(this Sprite sprite, VertexAttribute channel)

Parameters

Returns

Type

Description

boolTrue if the channel exists.