Class PathRecordingsVisualization
This class controls Statistics UI view.
Inheritance
System.Object
PathRecordingsVisualization
Namespace: Marus.StatisticsUI
Assembly: cs.temp.dll.dll
Syntax
public class PathRecordingsVisualization : MonoBehaviour
Fields
_scrollViewContent
Content child object of relevant ScrollView object
Declaration
public UnityEngine.Transform _scrollViewContent
Field Value
| Type | Description |
|---|---|
| UnityEngine.Transform |
ColorPresets
Declaration
public List<Tuple<Color, Color>> ColorPresets
Field Value
| Type | Description |
|---|---|
| List<Tuple<Color, Color>> |
TripInfoPrefab
Trip information prefab
Declaration
public GameObject TripInfoPrefab
Field Value
| Type | Description |
|---|---|
| GameObject |
Methods
GetAvailableColorPreset()
Declaration
public Tuple<Color, Color> GetAvailableColorPreset()
Returns
| Type | Description |
|---|---|
| Tuple<Color, Color> |
RefreshPaths()
Refreshes list of available path recordings
Declaration
public void RefreshPaths()
RemoveAllPaths()
Removes all paths from scene and scrollview
Declaration
public void RemoveAllPaths()
RemovePath(StatisticsEntry)
Removes path from scene and scrollview
Declaration
public void RemovePath(StatisticsEntry path)
Parameters
| Type | Name | Description |
|---|---|---|
| StatisticsEntry | path |