Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
public void OnTriggerEnter2D(Collider2D other) { if (other.gameObject.CompareTag("Player")) { //scoreManager.addScore(scoreWorth); ScoreManager.addScore(scoreWorth); playerStateManager.PickUpEnergizer(); Destroy(gameObject); } }