Hello, I have just solved one problem to encounter another as I am not well versed on unity at all.
What I am after is, I am trying to get my application on Unity to load a bunch of videos files on awake onto the video player.
I am able to get the files using this function.
string files = System.IO.Directory.GetFiles( path );
My question is, how to you need add the data from the path to an array of video clips that then reference the video player so they will be played on awake and cycle through?
Again apologises for the lack of code, I am just not sure where to even start.
I had tried
videoPlayer.url = (“C:/Users/Anthony/Desktop/VReditor40221587/Videos/Shatner.mp4”);
however it only plays that specific clip!
Does anyone have any experience with this?
Thanks in advance.