示例#1
0
        public void Add(PhotoData photo)
        {
            upToDate = false;

            photos.Add(photo);
            OnUpdated.Invoke();
        }
示例#2
0
        private void SavePhoto(PhotoData photo, int fileIndex)
        {
            var name = $"{config.saveName}-{fileIndex}.png";

            SavePng(photo.texture, name);

            photo.persistent = true;
        }