void Start() { moverObj3d = objeto.GetComponent<MoverRotarObjeto3d> (); // flecha1.GetComponent<Renderer> ().material.color = Color.red; // flecha2.GetComponent<Renderer> ().material.color = Color.green; // flecha3.GetComponent<Renderer> ().material.color = Color.yellow; }
void Awake() { Input.location.Start (); componenteObjeto= GetComponent<MoverRotarObjeto3d>(); }
void Start() { moverObj3d = objeto.GetComponent<MoverRotarObjeto3d> (); }