fgm24/Assets/Scripts/Rope/RopeJoint.cs

14 lines
298 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class RopeJoint : MonoBehaviour
{
public Transform anchor;
public Rigidbody2D body;
public bool locked = false;
public PlayerInput playerInput;
public Vector3 position => anchor.position;
}