Modding:Simple Particles: Difference between revisions

From Vintage Story Wiki
No edit summary
Line 59: Line 59:


=== Life length ===
=== Life length ===
<syntaxhighlight lang="c#">
    myParticles.lifeLength = 0.2F;
</syntaxhighlight>
[[File:Particles (short life).gif|300px]]
<syntaxhighlight lang="c#">
    myParticles.lifeLength = 1F;
</syntaxhighlight>
[[File:Particles (long life).gif|300px]]


=== Quantity ===
=== Quantity ===