using UnityEngine;
public class Slingshot : MonoBehaviour
{
public float maxStretch = 3.0f; // 弹弓最大拉伸距离
public LineRenderer catapultLineFront; // 弹弓前线渲染器
[Unity makes wheels] Realize the effect similar to angry birds and slingshots
Guess you like
Origin blog.csdn.net/qq_36303853/article/details/130428101
Ranking