Im still new to C# programming I am familiar to all the types of loops but I am stumped on how to implement it in Unity here is what I have so far.
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class NewBehaviourScript : MonoBehaviour {
public MovieTexture movie;
// Use this for initialization
void Start ()
{
{
GetComponent< RawImage> ().texture = movie as MovieTexture;
movie.Play ();
}
// Update is called once per frame
void Update ()
{
}
}