Class HotspotCamera
Used to set hotspot camera to reflect current scene camera
Namespace: Unity.Industrial.Forma.Staging.Hotspots
Syntax
public static class HotspotCamera
Methods
SetCamera(Camera)
Raise OnSwitch camera event
Declaration
public static void SetCamera(Camera camera)
Parameters
Type | Name | Description |
---|---|---|
Camera | camera |
Events
OnSwitch
On switch camera event
Declaration
public static event Action<Camera> OnSwitch
Event Type
Type | Description |
---|---|
Action<Camera> |