//private List<System.Action> onCaptationUpdate; public void Init(CaptationSettings _settings) { //onCaptationUpdate = new List<System.Action>(); texture = new Texture2D((int)_settings.rectangle.width, (int)_settings.rectangle.height); SetWebcam(_settings.webcamIndex); }