Skip to content

LedBoardFaultController

ClassLEDStudioLEDStudio
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

NameTypeDescription
severitySystem.SingleDefect 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

NameType
valueSystem.Boolean

Remarks

The request is ignored until a board runtime is available.

public LedBoardFaultController()