Beispiel #1
0
    public void SpawnAt(BoardCell cell)
    {
        if (cell.IsOccupied)
        {
            Debug.LogError($"Cell {cell} is already occupied by {cell.OccupiedByUnit}!");
            return;
        }

        graphics.PlayAppearAnimation();
        mover.TeleportToCell(cell);
    }