protected void UpdateVideoTexture() { byte[] rgbaColors = video.ReadImageRgbaColors(Time.Delta); if (rgbaColors != null) { image.FillRgbaData(rgbaColors); } else { Stop(); } }
private void UpdateVideoTexture() { byte[] bytes = video.ReadImageRgbaColors(Time.Delta); if (bytes != null) { image.FillRgbaData(bytes); } else { Stop(); } }