// IReplayable's interface

    // RECORD

    public void StartRecord()
    {
        m_TimeAccumulator = 0f;

        m_Buffer.Clear();

        m_IsRecording = true;
    }
Esempio n. 2
0
    // IReplayable's interface

    // RECORD

    public void StartRecord()
    {
        m_Buffer.Clear();

        m_SampleTimer     = 0f;
        m_TimeAccumulator = 0f;

        TransformData data;

        RecordSample(out data);

        m_Buffer.Push(0f, data);
    }
 public void Clear()
 {
     StopCoroutine("WaitForSteady");
     points.Clear();
 }