文档

Unity Engine

Unity Engine

SetSprite(int, Sprite)

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

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.ParticleSystemModule
public void SetSprite(int index, Sprite sprite)

Parameters

index

The index of the Sprite being modified.

sprite

The Sprite being assigned.

Remarks