|
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;
|
|
}
|