playerdetector - eisclimber/ExPresS-XR GitHub Wiki
Class in ExPresSXR.Movement
Inherits from UnityEngine.MonoBehaviour
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| Name | Description |
|---|---|
| OnPlayerEntered | Event emitted when the player enters. |
| OnPlayerExited | Event emitted when the player exits. |