Version: 2018.4

説明

Script interface for 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; } }