private void OnCollisionEnter(Collision other) { if (other.collider.CompareTag("Killbox")) { spawner.RemoveBallInPlay(); PhotonNetwork.Destroy(gameObject); } if (other.collider.CompareTag("Player")) { ApplyBounceForce(other.transform.position); } }