Init repository
This commit is contained in:
Executable file
+15
@@ -0,0 +1,15 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using UnityEngine;
|
||||
using UnityEngine.Video;
|
||||
public class LoadVideoFromStreamingAssets : MonoBehaviour
|
||||
{
|
||||
|
||||
public VideoPlayer videoPlayer;
|
||||
public string VideoPathFromStreamingAssets;
|
||||
void Start()
|
||||
{
|
||||
videoPlayer.url = Path.Combine(Application.streamingAssetsPath, VideoPathFromStreamingAssets);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user