fgm24/Assets/Scripts/Rope/Point.cs

15 lines
302 B
C#
Raw Normal View History

2024-02-02 21:03:44 +01:00
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;
}
}