JointsDataSequence.cs 468 B

123456789101112131415161718
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. [System.Serializable]
  5. public class JointsDataSequence
  6. {
  7. public List<JointsData> jointsDataSequence = new List<JointsData>();
  8. public JointsDataSequence(List<Vector3[]> jointsSequence)
  9. {
  10. foreach(Vector3[] vectors in jointsSequence)
  11. {
  12. JointsData jointsData = new JointsData(vectors);
  13. jointsDataSequence.Add(jointsData);
  14. }
  15. }
  16. }