Generic datalogger that logs any given variables or object properties in a csv-like format. More...
Classes | |
class | DataSource |
Public Types | |
enum | deltaTypes { deltaTypes.ON_UPDATE, deltaTypes.ON_FIXEDUPDATE, deltaTypes.ON_LATEUPDATE, deltaTypes.CUSTOM } |
Public Member Functions | |
override void | OnDestroy () |
void | logObjects () |
Public Attributes | |
string | filepath = "logs/sample.log" |
string | delimeter = ";" |
bool | manualLog = false |
deltaTypes | deltaType |
float | delta = 0.05f |
List< DataSource > | columns = new List<DataSource>() |
Private Member Functions | |
void | Update () |
void | FixedUpdate () |
void | LateUpdate () |
void | Start () |
void | init () |
string | getData (DataSource src) |
object | getPropertyValue (object target, string field) |
Private Attributes | |
float | stime = 0.0f |
StreamWriter | file |
Additional Inherited Members | |
Protected Attributes inherited from AVR.Core.AVR_Behaviour | |
AVR_PlayerRig | playerRig => AVR_PlayerRig.Instance |
The current AVR_PlayerRig instance in the scene More... | |
AVR_Root | root => AVR_Root.Instance |
The current AVR_Root instance in the scene More... | |
bool | vrEnabled => UnityEngine.XR.XRSettings.enabled |
True if the application is running as a VR/XR application More... | |
Generic datalogger that logs any given variables or object properties in a csv-like format.
Definition at line 17 of file AVR_Logger.cs.