colorswitching - eisclimber/ExPresS-XR GitHub Wiki

ExPresSXR.Misc.ColorSwitching Namespace

Summary

Classes for switching colors of objects.

Classes

Name Description
ButtonColorSwitcher Represents the color switching logic of a Button-ValueRangeInteractable.
ColorAnimatorSwitcher Uses an Animator to switch between colors.
The logic for switching is implemented inside the AnimationController of the assigned Animator.
For this each state must have a MaterialSwitchingStateBehaviour assigned with the desired material.
ColorSwitcher Provides the option to switch materials of a renderer.

It is highly recommended to use a ColorAnimationSwitcher for more complex scenarios.| |ConditionalColorSwitcher|Provides the option to switch materials of a renderer.

It is highly recommended to use a ColorAnimationSwitcher instead.| |LegacyButtonColorSwitcher|Represents the color switching logic of a Legacy BaseButton.| |MaterialSwitchingStateBehaviour|Represents a state behavior that can be added to s state in an animator to allow color switching.| |QuizButtonColorSwitcher|Represents the color switching logic of a QuizButton.|

⚠️ **GitHub.com Fallback** ⚠️