Documentation

Unity Engine

Unity Engine

SetSprite(int, Sprite)

Set the Sprite at the given index.
Read time 1 minuteLast updated a day ago

Definition

public void SetSprite(int index, Sprite sprite)

Parameters

index

The index of the Sprite being modified.

sprite

The Sprite being assigned.

Remarks