API reference

InteractableColorVisual Class

Extends MonoBehaviour

Protected Fields

_started : bool
Signature
bool _started

Protected Methods

Awake ()
Signature
virtual void Awake()
Returns
void
OnDisable ()
Signature
virtual void OnDisable()
Returns
void
OnEnable ()
Signature
virtual void OnEnable()
Returns
void
Start ()
Signature
virtual void Start()
Returns
void
UpdateVisual ()
Signature
virtual void UpdateVisual()
Returns
void

Methods

InjectAllInteractableColorVisual ( interactableView , editor )
Signature
void InjectAllInteractableColorVisual(IInteractableView interactableView, MaterialPropertyBlockEditor editor)
Parameters
interactableView: IInteractableView
Returns
void
InjectInteractableView ( interactableview )
Signature
void InjectInteractableView(IInteractableView interactableview)
Parameters
interactableview: IInteractableView
Returns
void
InjectMaterialPropertyBlockEditor ( editor )
Signature
void InjectMaterialPropertyBlockEditor(MaterialPropertyBlockEditor editor)
Parameters
Returns
void
InjectOptionalColorShaderPropertyName ( colorShaderPropertyName )
Signature
void InjectOptionalColorShaderPropertyName(string colorShaderPropertyName)
Parameters
colorShaderPropertyName: string
Returns
void
InjectOptionalHoverColorState ( hoverColorState )
Signature
void InjectOptionalHoverColorState(ColorState hoverColorState)
Parameters
hoverColorState: ColorState
Returns
void
InjectOptionalNormalColorState ( normalColorState )
Signature
void InjectOptionalNormalColorState(ColorState normalColorState)
Parameters
normalColorState: ColorState
Returns
void
InjectOptionalSelectColorState ( selectColorState )
Signature
void InjectOptionalSelectColorState(ColorState selectColorState)
Parameters
selectColorState: ColorState
Returns
void

Inner Class

ColorState Class

Fields

Color : Color
Signature
Color Color
ColorCurve : AnimationCurve
Signature
AnimationCurve ColorCurve
ColorTime : float
Signature
float ColorTime