- mp4をImport
- マテリアルを作成してテクスチャ部分にmp4を設定
- Planeなどをシーンに配置し、そのマテリアルを設定
- そのPlaneに下記コードを付けてPlay
using UnityEngine;
using System.Collections;
public class PlayMovieTexture : MonoBehaviour {
MovieTexture movieTexture;
void Start () {
movieTexture = (MovieTexture)(GetComponent<Renderer>().material.mainTexture);
movieTexture.Play();
}
}