using UnityEngine; [System.Serializable] public class Point { public Vector3 position, prevPosition; public bool locked; public Point(Vector3 position, bool locked = false) { this.position = position; this.prevPosition = position; this.locked = locked; } }