top of page

指定したポイントの方向を向く(Vector3)


    public Vector3 TargetPoint;

    void Update () {
        this.transform.rotation = Quaternion.Euler(TargetPoint);
    }

 

bottom of page