void SessionStarts(SceneStarts ss) { if (sceneStarts != null) { return; } sceneStarts = ss; Debug.Log("Scenario starts."); }
void SessionEnds(SceneEnds se) { if (sceneStarts == null) { return; } sceneStarts = null; Debug.Log("Scenario ends."); }
private void SessionEnds(SceneEnds se) { if (sceneStarts == null) { return; } CancelInvoke(); sw.Close(); sceneStarts = null; }
private void SessionStarts(SceneStarts ss) { if (sceneStarts != null) { return; } if (ss.IsReplay) { return; } sceneStarts = ss; string filename = sceneStarts.timeStamp + filenameSuffix; sw = File.CreateText(filename); WriteFileHeader(); InvokeRepeating("InvokeableWriteLine", 0f, 1f / timesPerSecond); Debug.Log(filename + " created."); }
void AvatarStart(SceneStarts ss) { }