Class InteractableHighlight
Adds or removes materials to target renderer for highlighting Focused GameObjects.
Inheritance
InteractableHighlight
Implements
BaseFocusHandler
Assembly: cs.temp.dll.dll
[Obsolete("This component is no longer supported", true)]
[Obsolete("This component is no longer supported", true)]
public class InteractableHighlight : BaseFocusHandler, BaseFocusHandler
Properties
Declaration
public bool Highlight { get; set; }
Property Value
Declaration
public bool Highlight { get; set; }
Property Value
Declaration
public InteractableHighlight.HighlightedMaterialStyle Style { set; }
Property Value
Declaration
public InteractableHighlight.HighlightedMaterialStyle Style { set; }
Property Value
The target renderers that will get the styles applied.
Declaration
public Renderer[] TargetRenderers { set; }
Property Value
Type |
Description |
Renderer[] |
|
The target renderers that will get the styles applied.
Declaration
public Renderer[] TargetRenderers { set; }
Property Value
Type |
Description |
Renderer[] |
|
Methods
Declaration
public virtual void OnDisable()
Declaration
public virtual void OnDisable()
Declaration
public virtual void OnEnable()
Declaration
public virtual void OnEnable()
Declaration
public override void OnFocusEnter(FocusEventData eventData)
Parameters
Type |
Name |
Description |
FocusEventData |
eventData |
|
Declaration
public override void OnFocusEnter(FocusEventData eventData)
Parameters
Type |
Name |
Description |
FocusEventData |
eventData |
|
Declaration
public override void OnFocusExit(FocusEventData eventData)
Parameters
Type |
Name |
Description |
FocusEventData |
eventData |
|
Declaration
public override void OnFocusExit(FocusEventData eventData)
Parameters
Type |
Name |
Description |
FocusEventData |
eventData |
|
Implements
BaseFocusHandler