public void Add(PhotoData photo) { upToDate = false; photos.Add(photo); OnUpdated.Invoke(); }
private void SavePhoto(PhotoData photo, int fileIndex) { var name = $"{config.saveName}-{fileIndex}.png"; SavePng(photo.texture, name); photo.persistent = true; }