Ejemplo n.º 1
0
    private void AddPoint()
    {
        // An extra point is always needed for the current position
        points++;

        if (enableLine)
        {
            linePoints.Enqueue(transform.position + offset);
        }

        current.Add(transform.position + offset, GetComponent <Rigidbody>().velocity, grappleScript.IsGrappling(), grappleScript.GetPos());
    }