Version: 2018.3 (switch to 2019.1)
LanguageEnglish
  • C#

ParticleSystem.ShapeModule.randomDirectionAmount

Switch to Manual
public float randomDirectionAmount;

Description

Randomizes the starting direction of particles.

This accepts values from 0 to 1, where 0 causes the particles to retain their default direction and 1 causes a completely random direction. Values in between 0 and 1 blend the default shape direction with a random direction. This means that at 0.5, you get 50% of the default shape and 50% of a randomized direction. See Also: ParticleSystem.ShapeModule.shapeType.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答