using System.Collections;
using System.Collections.Generic;
using UnityEngine;
///
/// 测试Demo脚本
///
public class WireDemo : MonoBehaviour
{
///
/// 测试用的a和b
///
public Transform a, b;
///
/// 测试的连线对象
///
WireObject wire;
// Start is called before the first frame update
void Start()
{
//创建测试连线
wire = WireObject.CreateWire(null, a, b, WireCreater.Instance.wireRatio);
}
}