first push!
This commit is contained in:
19
Assets/Scripts/Input/RowingSessionData.cs
Normal file
19
Assets/Scripts/Input/RowingSessionData.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
[System.Serializable]
|
||||
public struct RowingFrame
|
||||
{
|
||||
public float timestamp; // Time since the recording started
|
||||
public int watts;
|
||||
public int spm;
|
||||
public int heartRate;
|
||||
public List<float> forceCurve; // Will be empty unless a stroke just finished
|
||||
}
|
||||
|
||||
[CreateAssetMenu(fileName = "NewRowingSession", menuName = "Rowing/Session Data")]
|
||||
public class RowingSessionData : ScriptableObject
|
||||
{
|
||||
public string sessionName = "New Session";
|
||||
public List<RowingFrame> frames = new List<RowingFrame>();
|
||||
}
|
||||
Reference in New Issue
Block a user