private void OnCollisionEnter(Collision collision) { if (collision.gameObject.CompareTag("AvatarCollider")) { Debug.Log("GameOver"); scoreCounter.GameOverMultiplicator(scoreMultiplier); } }
private void OnCollisionEnter(Collision collision) { if (collision.gameObject.CompareTag("AvatarCollider")) { Debug.Log("GameOver"); scoreCounter.GameOverMultiplicator(scoreMultiplier); } }