文档

Unity Engine

Unity Engine

SetSprite(int, Sprite)

Set the Sprite at the given index.
阅读时间1 分钟最后更新于 2 天前

Definition

public void SetSprite(int index, Sprite sprite)

Parameters

index

The index of the Sprite being modified.

sprite

The Sprite being assigned.

Remarks