Class Hotspot
Class Hotspot.
Inherited Members
UnityEngine.Component.GetComponentInParent<T>(System.Boolean)
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
Namespace: Unity.Industrial.Forma.Staging.Hotspots
Syntax
[MovedFrom(true, "UnityEngine.Industrial.Configuring.Hotspots", "Unity.Industrial.Configurator", null)]
public class Hotspot : HotspotItem
Properties
ActionsExecuting
Gets a value indicating whether [actions executing].
Declaration
public bool ActionsExecuting { get; }
Property Value
Type | Description |
---|---|
Boolean |
|
actionType
Get / Set action type
Declaration
public Hotspot.ActionType actionType { get; set; }
Property Value
Type | Description |
---|---|
Hotspot.ActionType |
animations
Get / Set animations
Declaration
public List<FormaAnimation> animations { get; set; }
Property Value
Type | Description |
---|---|
List<FormaAnimation> |
cameraSetting
Get / Set Camera Setting
Declaration
public StagingItemCommandSettings cameraSetting { get; set; }
Property Value
Type | Description |
---|---|
StagingItemCommandSettings |
EnterCommands
Gets or sets the enter commands.
Declaration
public List<Command> EnterCommands { get; set; }
Property Value
Type | Description |
---|---|
List<Command> |
ExitCommands
Gets or sets the exit commands.
Declaration
public List<Command> ExitCommands { get; set; }
Property Value
Type | Description |
---|---|
List<Command> |
featureSet
Variant Set
Declaration
public FeatureSet featureSet { get; set; }
Property Value
Type | Description |
---|---|
FeatureSet |
hotspotDisplay
Get / Set Hotspot display
Declaration
public HotspotDisplay hotspotDisplay { get; set; }
Property Value
Type | Description |
---|---|
HotspotDisplay |
hotspotGroup
Get hotspot group
Declaration
public HotspotGroup hotspotGroup { get; }
Property Value
Type | Description |
---|---|
HotspotGroup |
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()
CheckFieldChanges()
Check for field changes
Declaration
protected override void CheckFieldChanges()
Overrides
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()
HotspotToggle()
Hotspot Toggle activate or deactivate
Declaration
public void HotspotToggle()
Initialize()
Initialize
Declaration
protected override void Initialize()
Overrides
UpdateDisplayVisibilityFlag()
Declaration
protected override void UpdateDisplayVisibilityFlag()
Overrides
Events
stateChanged
Event raised when state changed
Declaration
public event Hotspot.StateChangeDelegate stateChanged
Event Type
Type | Description |
---|---|
Hotspot.StateChangeDelegate |