Exemple #1
0
    public void ReverseOrder(SnakePart newTail)
    {
        if (tail)
        {
            tail.ReverseOrder(this);
        }

        if (newTail)
        {
            transform.position = newTail.transform.position;
        }

        tail      = newTail;
        moveCount = 0;
    }