Beispiel #1
0
    void CubePoslUpdate()
    {
        Ray ray = Camera.main.ScreenPointToRay(Input.mousePosition);

        if (c.GetMouseRayPoint(ray, out Vector3 addPoint, out Vector3 removePoint))
        {
            va = addPoint;
            vr = removePoint;
        }