Comment out line for testing slideshow in editor
parent
39d7353464
commit
4742ed4a7b
|
@ -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))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue