public static HandsDataRecording Create(Transform parentContainer, string recordingName, List <HandsDataRecordedFrame> handsDataRecordedFrames,
                                                InitHandData initHandData, Action <HandsDataRecording> delete, Action <HandsDataRecording> play)
        {
            var recording = new GameObject(recordingName);

            recording.transform.parent = parentContainer;

            var handsDataRecording = recording.AddComponent <HandsDataRecording>();

            handsDataRecording.HandsDataRecordedFrames = handsDataRecordedFrames;
            handsDataRecording._delete       = delete;
            handsDataRecording._play         = play;
            handsDataRecording.InitHandData  = initHandData;
            handsDataRecording.RecordingName = recordingName;

            return(handsDataRecording);
        }
 public PersistedHandsDataRecording(string name, List <HandsDataRecordedFrame> handsDataRecordedFrames, InitHandData initHandData)
 {
     Name = name;
     HandsDataRecordedFrames = handsDataRecordedFrames;
     InitHandData            = initHandData;
 }