1 2 3 4 5 6 7 8 9 10 11 12 13 14
using Microsoft.Xna.Framework; namespace MonoGame.Extended.Particles.Profiles { public class PointProfile : Profile { public override void GetOffsetAndHeading(out Vector2 offset, out Vector2 heading) { offset = Vector2.Zero; Random.NextUnitVector(out heading); } } }