c# - How to Append videos in Unity3D programmatically -


i working in unity3d video gallery app. need upload , download videos server. can append 4 videos in unity3d programmatically , upload.

please suggest me solution. highly obliged.

i order load video server or local filesystem not directly in asset folder need use www.

here example documentation image works same way video:

public class exampleclass : monobehaviour {     public string url = "http://images.earthcam.com/ec_metros/ourcams/fridays.jpg";     ienumerator start() {         www www = new www(url);         yield return www;         renderer renderer = getcomponent<renderer>();         renderer.material.maintexture = www.texture;     } } 

here link unity documentation: www


Comments

Popular posts from this blog

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -