16 lines
396 B
C#
16 lines
396 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 PlayerAnimationHandler playerAnimationHandler;
|
|
public TrailRenderer trailRenderer;
|
|
|
|
public Vector3 position => anchor.position;
|
|
}
|