Version: 5.5
public ParticleSystem.TrailModule trails ;

説明

Access the particle system trails module.

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour {

void Start() { ParticleSystem ps = GetComponent<ParticleSystem>(); var trails = ps.trails; trails.enabled = true; trails.ratio = 0.5f; } }