15 lines
302 B
C#
15 lines
302 B
C#
|
using UnityEngine;
|
||
|
|
||
|
[System.Serializable]
|
||
|
public class Point
|
||
|
{
|
||
|
public Vector2 position, prevPosition;
|
||
|
public bool locked;
|
||
|
|
||
|
public Point(Vector2 position, bool locked = false)
|
||
|
{
|
||
|
this.position = position;
|
||
|
this.prevPosition = position;
|
||
|
this.locked = locked;
|
||
|
}
|
||
|
}
|