예제 #1
0
 void EmitWithGravity()
 {
     mParticleSystem1 = new ParticleSystem(this, 100, Resource.Drawable.star_dark, 3000);
     mParticleSystem1.SetAcceleration(0.00013f, 90);
     mParticleSystem1.SetSpeedByComponentsRange(0f, 0f, 0.05f, 0.1f);
     mParticleSystem1.SetFadeOut(200, new AccelerateInterpolator());
     mParticleSystem1.EmitWithGravity(mTextView, (int)GravityFlags.Bottom, 30);
 }