Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
We click on the Renderer block, in it the item is Material, it should stand out in the assets. Or the material itself is visible below, right-clicking it, Select Material - it should also stand out in the assets.
Via script:
var pr = particles.GetComponent<ParticleSystem>().GetComponent<Renderer>();
Debug.Log(pr.sharedMaterial.name);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question