Tanoda
|
This simple script changes the color of an InteractionBehaviour as a function of its distance to the palm of the closest hand that is hovering nearby. More...
Public Attributes | |
bool | useHover = true |
bool | usePrimaryHover = false |
Color | defaultColor = Color.Lerp(Color.black, Color.white, 0.1F) |
Color | suspendedColor = Color.red |
Color | hoverColor = Color.Lerp(Color.black, Color.white, 0.7F) |
Color | primaryHoverColor = Color.Lerp(Color.black, Color.white, 0.8F) |
Color | pressedColor = Color.white |
This simple script changes the color of an InteractionBehaviour as a function of its distance to the palm of the closest hand that is hovering nearby.
Definition at line 22 of file SimpleInteractionGlow.cs.
Color SimpleInteractionGlow.defaultColor = Color.Lerp(Color.black, Color.white, 0.1F) |
Definition at line 31 of file SimpleInteractionGlow.cs.
Color SimpleInteractionGlow.hoverColor = Color.Lerp(Color.black, Color.white, 0.7F) |
Definition at line 33 of file SimpleInteractionGlow.cs.
Color SimpleInteractionGlow.pressedColor = Color.white |
Definition at line 38 of file SimpleInteractionGlow.cs.
Color SimpleInteractionGlow.primaryHoverColor = Color.Lerp(Color.black, Color.white, 0.8F) |
Definition at line 34 of file SimpleInteractionGlow.cs.
Color SimpleInteractionGlow.suspendedColor = Color.red |
Definition at line 32 of file SimpleInteractionGlow.cs.
bool SimpleInteractionGlow.useHover = true |
Definition at line 25 of file SimpleInteractionGlow.cs.
bool SimpleInteractionGlow.usePrimaryHover = false |
Definition at line 28 of file SimpleInteractionGlow.cs.