//private DestruirComponetInvisible DestruirComponetInvisible; void Start() { Screen.orientation = ScreenOrientation.Landscape; animacion = alien.GetComponentInChildren<Animation>(); activarParticula = GetComponent<ActivarParticula>(); screenBlood = GetComponent<SangrePantalla>(); defaultTrackeableEventHandler = marker.GetComponent<DefaultTrackableEventHandler>(); soundPlay = GetComponent<ReproducirSonido>(); activarParticula.disableParticula(); activarParticula.disableParticleInfinit(); }
void Start() { eventoMarcador=controladorAplicacion.GetComponent<EventosMarcador>(); mTrackableBehaviour = GetComponent<TrackableBehaviour>(); activarParticual=controladorAplicacion.GetComponent<ActivarParticula>(); if (mTrackableBehaviour) { mTrackableBehaviour.RegisterTrackableEventHandler(this); } }