- Home /
Create Legacy Ellipsoid Emitter from script
hello all,
i want to add a legacy ellispoid emitter from script but :
i have a little problem ; i know where Ellispoid are : navigate to component/effects/legacy particles and add the ellipsoid particle emitter, particle animator, and the particle renderer.
But i'm unable to create them from script, i want to do it in C# I tried to declare
private Particle ownParticle;
in start
ownParticle=gameObject.AddComponent();
but it don't seems to work, even if i add a particleRenderer (what i can do without problem).
Does anybody did that ?
i failed, i was meaning ownParticle=gameObject.AddComponent();
Hem, ownParticle=gameObject.AddComponent < Particle > ();
Your answer
Follow this Question
Related Questions
How to move particles from script ? 3 Answers
making a new weapon script 0 Answers
C#: read text file and interpret as script at runtime? 1 Answer
How to create a gui that the user can write in and save? 2 Answers
Switch Out Particle Systems 1 Answer