Comment out line for testing slideshow in editor
This commit is contained in:
parent
39d7353464
commit
4742ed4a7b
@ -82,7 +82,7 @@ public class PhotoTransition : MonoBehaviour
|
||||
IEnumerator ImageLoader(string 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))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user