void OnStateChanged(JobCullingGroupEvent sphere) { if (sphere.IsVisible) { OnVegetationCellVisibleDelegate?.Invoke(this, PotentialVisibleCellList[sphere.Index]); } else { OnVegetationCellInvisibleDelegate?.Invoke(this, PotentialVisibleCellList[sphere.Index]); } }
void OnDistanceBandStateChanged(JobCullingGroupEvent sphere) { OnVegetationCellDistanceBandChangeDelegate?.Invoke(this, PotentialVisibleCellList[sphere.Index], sphere.CurrentDistanceBand, sphere.PreviousDistanceBand); }