1 using System.Collections; 2 using System.Collections.Generic; 3 using UnityEngine; 4 5 public class Point : MonoBehaviour 6 { 7 private float time; 8 private float vel; 9 private float rot; 10 11 public Point (float t, float v, float r) 12 { 13 time = t; 14 vel = v; 15 rot = r; 16 } 17 18 public void SetTime(float t) 19 { 20 time = t; 21 } 22 23 public void SetVel(float v) 24 { 25 vel = v; 26 } 27 28 public void SetRot(float r) 29 { 30 rot = r; 31 } 32 33 public float GetTime() 34 { 35 return time; 36 } 37 38 public float GetVel() 39 { 40 return vel; 41 } 42 43 public float GetRot() 44 { 45 return rot; 46 } 47 } 48