19 lines
358 B
C#
19 lines
358 B
C#
using UnityEngine;
|
|
using System.Collections.Generic;
|
|
using Obi;
|
|
|
|
public class aaaaaaa : MonoBehaviour
|
|
{
|
|
[SerializeField] private ObiRope rope;
|
|
[SerializeField] private Transform[] controlPoints;
|
|
[SerializeField] private float length = 5f; //绳子总长度
|
|
[SerializeField] private int resolution = 10; //分辨率
|
|
|
|
|
|
void Start()
|
|
{
|
|
|
|
|
|
}
|
|
}
|