Skip to content

LedBoardFaultController

ClassLEDStudioLEDStudio
[AddComponentMenu("LED Studio/LED Board Fault Controller")]
public sealed class LedBoardFaultController : MonoBehaviour

Convenience MonoBehaviour for applying a defect profile to a board at startup. Provides simple severity and toggle controls for designers and gameplay scripts.

public void SetWornBoardLook(float severity)

Applies the startup defect profile at the requested severity to simulate a uniformly worn board.

Parameters

Name Type Description
severity System.Single Defect intensity forwarded to the bound board runtime.

Remarks

The request is ignored until both a board runtime and startup profile are available.

public void ToggleFaults(bool value)

Enables or disables defect rendering on the bound board without changing its configured profile.

Parameters

Name Type
value System.Boolean

Remarks

The request is ignored until a board runtime is available.

public LedBoardFaultController()