setSprite

public abstract Unit setSprite(Sprite sprite)(source)

Gets or sets the sprite used to create BakedQuads.