public void removeCameraEffector(ICameraEffector cameraEffector) { for (var i = _cameraEffectors.Count - 1; i >= 0; i--) { if (_cameraEffectors[i] == cameraEffector) { _cameraEffectors.RemoveAt(i); return; } } }
public void addCameraEffector(ICameraEffector cameraEffector) { _cameraEffectors.Add(cameraEffector); }