Skip to content

Instantly share code, notes, and snippets.

@QRemark
QRemark / Score
Created September 1, 2024 14:47
Счетчик
using System;
using System.Collections;
using UnityEngine;
public class Score : MonoBehaviour
{
private bool _isRunning = true;
private int _score = 1;
private int _leftMouseButton = 0;
@QRemark
QRemark / Score
Created September 1, 2024 09:32
Счетчик
using System;
using System.Collections;
using UnityEngine;
public class Score : MonoBehaviour
{
public event Action<int> OnScoreChanged;
private bool _isRunning = true;
using System.Collections;
using TMPro;
using UnityEngine;
public class ScoreDz : MonoBehaviour
{
[SerializeField] private TextMeshProUGUI _text;
private bool _isRunning = true;
@QRemark
QRemark / Move.cs
Created August 1, 2024 16:20
Трансформации
using UnityEngine;
public class Move : MonoBehaviour
{
[SerializeField] private float _speedForward;
private void Update()
{
ChangePosition();
}
@QRemark
QRemark / gist:53d9d8fa4ad22156dc05873d8d02f7ef
Created August 1, 2024 10:58
Трансформации
using UnityEngine;
public class ComplexTransform : MonoBehaviour
{
[SerializeField] private float _speedForward;
[SerializeField] private float _speedRotation;
[SerializeField] private float _speedScale;
void Start()
@QRemark
QRemark / gist:07ef04456201e683cf289e2edcb3b79f
Created July 17, 2024 17:40
Перевод бойцов
using System;
using System.Collections.Generic;
using System.Linq;
namespace Linq
{
internal class Program
{
static void Main(string[] args)
{
@QRemark
QRemark / gist:4509d21da72e27ba9cb5c16e55dccf73
Created July 17, 2024 17:08
Отчёт о вооружении
using System;
using System.Collections.Generic;
using System.Linq;
namespace Linq
{
internal class Program
{
static void Main(string[] args)
{
@QRemark
QRemark / gist:a5e9cfd9613d50c900089b12bf8107fd
Created July 17, 2024 16:06
Определение просрочки
using System;
using System.Collections.Generic;
using System.Linq;
namespace Linq
{
internal class Program
{
static void Main(string[] args)
{
@QRemark
QRemark / gist:f197268c152707930f82b7304a4ffb45
Created July 17, 2024 14:19
Топ игроков сервера
using System;
using System.Collections.Generic;
using System.Linq;
namespace Linq
{
internal class Program
{
static void Main(string[] args)
{
@QRemark
QRemark / gist:a0803575c515a4d0d87495e3c8b1915e
Last active July 17, 2024 13:00
Топ игроков сервера
using System;
using System.Collections.Generic;
using System.Linq;
namespace Linq
{
internal class Program
{
static void Main(string[] args)
{