Je pars plutôt sur celui là
Code : Tout sélectionner
using UnityEngine;
using System.Collections;
public class ville : MonoBehaviour {
public MovieTexture movTexture;
void Start() {
renderer.material.mainTexture = movTexture;
movTexture.Play();
}
}
MissingComponentException: There is no 'Renderer' attached to the "Camera" game object, but a script is trying to access it.
You probably need to add a Renderer to the game object "Camera". Or your script needs to check if the component is attached before using it.
ville.Start () (at Assets/ville.cs:7)
Mais comment on fait pour ajouter un renderer?
Si il y a une bonne âme ce serait trop nickel cool! merci d'avance