Esempio n. 1
0
 private void OnCollisionEnter2D(Collision2D collision)
 {
     collidedObject = collision.gameObject;
     ScorePlayer();
     audioSource.Play();
     UpdateUI();
     gameLogicManager.CallBallDestroyEvent();
 }