Higher contrast - vr4vet/Blue-Sector GitHub Wiki

The Main Menu's higher contrast toggle invokes an event that all ContrastModifier.cs scripts listen to. The script assumes that the canvas elements follow VR4VET's colour palette.

How to setup

Add ContrastModifier.cs as a component of the gameobject containing the canvas. All VR4VET colours (downwards in the hierarchy) are automatically changed when toggling the setting from the Main Menu. Optionally, place objects one wishes to exclude in the "Exclude Objects" list.