fgm24/Assets/Scripts/Rope/RopeJoint.cs

14 lines
298 B
C#
Raw Normal View History

2024-02-03 12:42:00 +01:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class RopeJoint : MonoBehaviour
{
public Transform anchor;
public Rigidbody2D body;
public bool locked = false;
2024-02-03 16:21:32 +01:00
public PlayerInput playerInput;
2024-02-03 12:42:00 +01:00
public Vector3 position => anchor.position;
}