Siki学院案例 存档与读档中 子弹方向控制
子弹生成在枪尾部
创建一个Aim空物体 摆在枪口
之后调用 _bullet.GetComponent<Bullet>().Launch(_Aim.transform.position -_bullet.transform.position);
public void Launch(Vector3 Target)
{
RD.Add
Siki学院案例 存档与读档中 子弹方向控制
子弹生成在枪尾部
创建一个Aim空物体 摆在枪口
之后调用 _bullet.GetComponent<Bullet>().Launch(_Aim.transform.position -_bullet.transform.position);
public void Launch(Vector3 Target)
{
RD.Add