protected CurvySplineEventArgs OnRefreshEvent(CurvySplineEventArgs e) { if (OnRefresh != null) { OnRefresh.Invoke(e); } return(e); }
protected CurvySplineEventArgs OnAfterControlPointChangesEvent(CurvySplineEventArgs e) { if (OnAfterControlPointChanges != null) { OnAfterControlPointChanges.Invoke(e); } return(e); }
void OnSplineRefresh(CurvySplineEventArgs e) { if (!Splines.Contains(e.Spline)) { e.Spline.OnRefresh.RemoveListener(OnSplineRefresh); return; } if (!mIsInitialized) { return; } doRefreshLength(); doGetProperties(); OnRefreshEvent(new CurvySplineEventArgs(this)); }
void OnSplineRefresh(CurvySplineEventArgs e) { mNeedRefresh = true; }