Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

unity change particle system sorting layer via script

ParticleSystem myParticleSystem;
myParticleSystem.GetComponent<ParticleSystemRenderer>().sortingOrder = 0;
 
PREVIOUS NEXT
Tagged: #unity #change #particle #system #sorting #layer #script
ADD COMMENT
Topic
Name
6+3 =