A class in Root.Township, the global namespace.
Made by PlayerUnlockManager to set the player's light brightness from how many orbs they have. Its checks are contradictory (it only hooks up on headless and only updates when not headless), so it never changes the light.
Constructors
Fields
2 private and internal fields
Methods
3 private and internal methods
| Member | What it is |
|---|
private void TryUpdatePlayerLightIntensity() | Calls UpdatePlayerLightIntensity if not headless and the player has a controller and light. |
private void UpdatePlayerLightIntensity() | Sets the player light's intensity for the current orb count. |
private void UpdatePlayerLightIntensityOnNewController(Player playerCaller, PlayerController playercontroller) | Handles PlayerControllerSet by trying the update again. |