Skip to content

Instantly share code, notes, and snippets.

using System.Collections;
using UnityEngine;
public class BulletSpawner : MonoBehaviour
{
[SerializeField] private GameObject _prefab;
[SerializeField] private float _spawnCircumferenceRadius = 1f;
[SerializeField] private float _delay;
[SerializeField] private Transform _targetToShoot;
[SerializeField] private float _speed;
@BelousovAD
BelousovAD / gist:4095c19566f4f4e8d03b52e97497aa6f
Last active May 15, 2025 14:42
ДЗ: Перевод бойцов
using System;
using System.Collections.Generic;
using System.Linq;
namespace CSharp
{
public class Program
{
private static void Main(string[] args)
{
@BelousovAD
BelousovAD / gist:f9db4135564fe5d5fc0657e470d1ae93
Created May 14, 2025 17:27
ДЗ: Отчёт о вооружении
using System;
using System.Collections.Generic;
using System.Linq;
namespace CSharp
{
public class Program
{
private static void Main(string[] args)
{
@BelousovAD
BelousovAD / gist:3655e7f23112022dd54504dc2231146a
Created May 14, 2025 16:50
ДЗ: Определение просрочки
using System;
using System.Collections.Generic;
using System.Linq;
namespace CSharp
{
public class Program
{
private static void Main(string[] args)
{
@BelousovAD
BelousovAD / gist:8aefd81a5b8f456304d67eae9c46633d
Created May 14, 2025 16:28
ДЗ: Топ игроков сервера
using System;
using System.Collections.Generic;
using System.Linq;
namespace CSharp
{
public class Program
{
private static void Main(string[] args)
{
@BelousovAD
BelousovAD / gist:db131dd4294142ff6ed9be6ecdd25a4f
Created May 14, 2025 15:02
ДЗ: Анархия в больнице
using System;
using System.Collections.Generic;
using System.Linq;
namespace CSharp
{
public class Program
{
private static void Main(string[] args)
{
using System;
using System.Collections.Generic;
using System.Linq;
namespace CSharp
{
public class Program
{
private static void Main(string[] args)
{
@BelousovAD
BelousovAD / gist:5baa3ca4f0f40379e7206e3afebd34f7
Last active May 14, 2025 12:44
ДЗ: Поиск преступника
using System;
using System.Collections.Generic;
using System.Linq;
namespace CSharp
{
public class Program
{
private static void Main(string[] args)
{
@BelousovAD
BelousovAD / gist:1a3210543f3bf8cb869c5361c0191d61
Last active May 14, 2025 09:14
ДЗ: Автосервис
using System;
using System.Collections.Generic;
namespace CSharp
{
public class Program
{
private static void Main(string[] args)
{
int partCountBoundary = 5;
using System;
using System.Collections.Generic;
namespace CSharp
{
public class Program
{
private static void Main(string[] args)
{
int enclosureCapacityBoundary = 10;