feature: 基本完成绑定
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using UnityEngine;
|
||||
using Utils;
|
||||
|
||||
namespace Models
|
||||
{
|
||||
@@ -12,6 +13,7 @@ namespace Models
|
||||
private readonly GameObject _bond;
|
||||
|
||||
public Quaternion Rotation => _bond.transform.rotation;
|
||||
public Vector3 Vector => End.transform.position - Start.transform.position;
|
||||
|
||||
public Bond(GameObject start,GameObject end,float scale)
|
||||
{
|
||||
|
Reference in New Issue
Block a user