Version: 5.4
public ParticleSystem.TextureSheetAnimationModule textureSheetAnimation ;

説明

Texture Sheet Animation モジュールにアクセスします。

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { void Start() { ParticleSystem ps = GetComponent<ParticleSystem>(); var ts = ps.textureSheetAnimation; ts.enabled = true; ts.numTilesX = 2; ts.useRandomRow = true; } }