Disabling Player

You can use the events in the disable manager to disable your own player character - The example below is just a guide for the included player character

Disable Manager Setup

  1. Click the "+" on either the OnPlayerDisabled() or OnPlayerEnabled() to add new events

  2. I disable the FirstPersonController script by selecting the FirstPersonController > Bool Enabled

  3. I disable the CodeDeviceInteractor when the player is disabled

  4. I actually enable the CodeDeviceUIManager.ShowCrosshair

Last updated

Was this helpful?