playerdetector - eisclimber/ExPresS-XR GitHub Wiki

PlayerDetector

Class in ExPresSXR.Movement

Inherits from UnityEngine.MonoBehaviour

Summary

Detects the player's CharacterController when entering. Be aware that without proper centering of the play area, the CharacterController can be shifted an not at the origin.

public class PlayerDetector : MonoBehaviour

Fields

Name Description
OnPlayerEntered Event emitted when the player enters.
OnPlayerExited Event emitted when the player exits.
⚠️ **GitHub.com Fallback** ⚠️