Beispiel #1
0
        public IEnumerator LoadPhoto(PersonContent.PhotoItem photoItem)
        {
            // Сформировать запрос
            var operation = managerServer.DownloadPhoto(photoItem.Фото_сжатое.fileContentUrl);

            // Выполнить запрос
            yield return(operation);

            // Получить ответ
            var response = operation.Current as Texture2D;

            yield return(response);
        }