Class HotspotView
WIP TODO Seperate Canvas and 3D View
Inherited Members
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
Namespace: UnityEngine.Industrial.Configuring.Hotspots
Syntax
public class HotspotView : MonoBehaviour, IPointerDownHandler, IEventSystemHandler, IHotspotView
Methods
Activate(Boolean)
Activates the specified enable.
Declaration
public void Activate(bool enable)
Parameters
Type | Name | Description |
---|---|---|
Boolean | enable | if set to |
Implements
IsLayerRendered(Int32)
Determines whether [is layer rendered] [the specified layer].
Declaration
public bool IsLayerRendered(int layer)
Parameters
Type | Name | Description |
---|---|---|
Int32 | layer | The layer. |
Returns
Type | Description |
---|---|
Boolean |
|
OnPointerDown(PointerEventData)
Called when [pointer down].
Declaration
public void OnPointerDown(PointerEventData eventData)
Parameters
Type | Name | Description |
---|---|---|
PointerEventData | eventData | The event data. |
Implements
Events
clicked
Occurs when [clicked].
Declaration
public event HotspotViewHandler clicked
Event Type
Type | Description |
---|---|
HotspotViewHandler |