Class Hotspot
Class Hotspot.
Inherited Members
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
Namespace: UnityEngine.Industrial.Configuring.Hotspots
Syntax
public class Hotspot : MonoBehaviour
Properties
ActionsExecuting
Gets a value indicating whether [actions executing].
Declaration
public bool ActionsExecuting { get; }
Property Value
Type | Description |
---|---|
Boolean |
|
Methods
Activate()
Executes all Actions within the ActionList in the predefined order when the hotspot gets activated This stops the current running coroutines
Declaration
[ContextMenu("Activate")]
public void Activate()
AddView(IHotspotView)
Adds the view.
Declaration
public void AddView(IHotspotView view)
Parameters
Type | Name | Description |
---|---|---|
IHotspotView | view | The view. |
Deactivate()
Executes all Actions within the ActionList in the predefined order when the hotspot gets deactivated This stops the current running coroutines
Declaration
[ContextMenu("Deactivate")]
public void Deactivate()
RemoveView(IHotspotView)
Removes the view.
Declaration
public void RemoveView(IHotspotView view)
Parameters
Type | Name | Description |
---|---|---|
IHotspotView | view | The view. |