Comment out line for testing slideshow in editor

btc_debug
Nadine Ganz 2024-04-10 11:57:46 +02:00
parent 39d7353464
commit 4742ed4a7b
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ public class PhotoTransition : MonoBehaviour
IEnumerator ImageLoader(string path) IEnumerator ImageLoader(string path)
{ {
string imgPath = Path.Combine(Application.streamingAssetsPath, path); string imgPath = Path.Combine(Application.streamingAssetsPath, path);
imgPath = "file://" + imgPath; // For testing in editor // imgPath = "file://" + imgPath; // For testing in editor
using (UnityWebRequest uwr = UnityWebRequestTexture.GetTexture(imgPath)) using (UnityWebRequest uwr = UnityWebRequestTexture.GetTexture(imgPath))
{ {