Class StagingSceneAnalyticsEvent
Event used for scene staging changes
Inherited Members
Namespace: UnityEngine.Industrial.Configuring.Providers
Syntax
public class StagingSceneAnalyticsEvent : AnalyticsEngineEvent
Constructors
StagingSceneAnalyticsEvent(String, Scene, Scene, Single)
Initializes a new instance of the StagingSceneAnalyticsEvent class.
Declaration
public StagingSceneAnalyticsEvent(string eventName, Scene oldScene, Scene newScene, float activeTime)
Parameters
| Type | Name | Description |
|---|---|---|
| String | eventName | Name of the event. |
| Scene | oldScene | The old scene. |
| Scene | newScene | The new scene. |
| Single | activeTime | The active time. |
Properties
NewScene
Creates new scene.
Declaration
public Scene NewScene { get; }
Property Value
| Type | Description |
|---|---|
| Scene | The new scene. |
OldScene
Gets the old scene.
Declaration
public Scene OldScene { get; }
Property Value
| Type | Description |
|---|---|
| Scene | The old scene. |
SceneName
Gets the name of the scene.
Declaration
public string SceneName { get; }
Property Value
| Type | Description |
|---|---|
| String | The name of the scene. |
Time
Gets the time.
Declaration
public float Time { get; }
Property Value
| Type | Description |
|---|---|
| Single | The time. |
Methods
GetEventData()
Gets the event data.
Declaration
public override IDictionary<string, object> GetEventData()
Returns
| Type | Description |
|---|---|
| IDictionary<String, Object> | IDictionary<System.String, System.Object>. |