///////////////////////////////////////// public Component_ParticleColorMultiplierByTime() { _curve = new ReferenceList <Component_ParticleSystem.CurvePoint>(this, delegate() { CurveChanged?.Invoke(this); ShouldRecompileParticleSystem(); }); }
public void AddPoint(float x, float y) { points.Add(x, y); CurveChanged?.Invoke(this, EventArgs.Empty); }