Init repository

This commit is contained in:
2024-01-27 08:49:55 +08:00
commit f86a72355b
311 changed files with 121739 additions and 0 deletions
+15
View File
@@ -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);
}
}