기술 자료

Unity Engine

Unity Engine

SetSprite(int, Sprite)

Set the Sprite at the given index.
읽는 시간 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