public void ClientSetSpawnedTailToEnd(int _playerIndex)
    {
        if (nextTail != null)
        {
            nextTail.ClientSetSpawnedTailToEnd(_playerIndex);
        }
        else
        {
            nextTail            = allTails.Find(x => (x.playerIndex == _playerIndex) && !x.isAttached);
            nextTail.isAttached = true;

            isEnd          = false;
            nextTail.isEnd = true;
        }
    }
 public void ClientSetSpawnedTailToEnd(int _playerIndex)
 {
     head.ClientSetSpawnedTailToEnd(_playerIndex);
 }