void OnTriggerEnter(Collider other) { if (Utils.MaskContainsLayer(playerLayer, other.gameObject.layer)) { miniGame.OnPlayerEntered(); } }