Exemple #1
0
 // Use this for initialization
 void Start()
 {
     // image.texture = TextureHelper.Base64StringToTexture2D(textureBase64);
     for (int i = 0; i < 8; i++)
     {
         string path          = Application.streamingAssetsPath + "/video_6.mp4-" + i + ".jpg";
         string textureBase64 = TextureHelper.Texture2dToBase64(path);
         textures[i] = TextureHelper.Base64StringToTexture2D(textureBase64);
     }
 }