Exemple #1
0
    void SessionStarts(SceneStarts ss)
    {
        if (sceneStarts != null)
        {
            return;
        }

        sceneStarts = ss;
        Debug.Log("Scenario starts.");
    }
Exemple #2
0
    void SessionEnds(SceneEnds se)
    {
        if (sceneStarts == null)
        {
            return;
        }

        sceneStarts = null;
        Debug.Log("Scenario ends.");
    }
Exemple #3
0
    private void SessionEnds(SceneEnds se)
    {
        if (sceneStarts == null)
        {
            return;
        }

        CancelInvoke();

        sw.Close();
        sceneStarts = null;
    }
Exemple #4
0
    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.");
    }
Exemple #5
0
 void AvatarStart(SceneStarts ss)
 {
 }