SetTrails(Trails)
Use this method with the results of an earlier call to ParticleSystem.GetTrails, in order to restore the Particle System to the state stored in the Trails object.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.ParticleSystemModule
public void SetTrails(ParticleSystem.Trails trailData)
Parameters
Remarks
To fully restore a Particle System to a previous state, use this method along with ParticleSystem.SetParticles and ParticleSystem.SetPlaybackState.
Additional Resources: ParticleSystem.GetTrails, ParticleSystem.SetParticles, ParticleSystem.SetPlaybackState.