void OnTriggerEnter2D(Collider2D cInfo) { if (cInfo.gameObject.tag == "Player") { chronoScript.time += 10; chronoScript.moreTimeIMG(); // Desactivamos la imagen gameObject.SetActive(false); } }
void OnTriggerEnter2D(Collider2D cInfo) { if (cInfo.gameObject.tag == "Player") { chronoScript.time += 10; chronoScript.moreTimeIMG(); // Desactivamos la imagen gameObject.SetActive(false); } }