Version: 2017.4

説明

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; } }