// Start is called before the first frame update void Start() { miniS = FindObjectOfType <MiniSpider>(); level2Start = FindObjectOfType <DetectorA2>(); nucleo = FindObjectOfType <Nucleo>(); RespawnPos = puntRespawn.transform.position; playerMove = FindObjectOfType <PlayerMove>(); healthBar = FindObjectOfType <HealthBar>(); actOleadas = FindObjectOfType <ActivarOleadas>(); spawnEnemy = FindObjectOfType <SpawnEnemigos>(); timer = FindObjectOfType <TimerNucleo>(); }
// Start is called before the first frame update void Start() { detector2 = FindObjectOfType <DetectorA2>(); star = FindObjectOfType <ActivarOleadas>(); }