Skip to content

Instantly share code, notes, and snippets.

View atlass-dev's full-sized avatar
🎲
Playa

Egor Doroshkevich atlass-dev

🎲
Playa
View GitHub Profile
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SwipeController : MonoBehaviour
{
public static bool tap, swipeLeft, swipeRight, swipeUp, swipeDown;
private bool isDraging = false;
private Vector2 startTouch, swipeDelta;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TileGenerator : MonoBehaviour
{
public GameObject[] tilePrefabs;
private List<GameObject> activeTiles = new List<GameObject>();
private float spawnPos = 0;
private float tileLength = 100;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerController : MonoBehaviour
{
private CharacterController controller;
private Vector3 dir;
[SerializeField] private int speed;
[SerializeField] private float jumpForce;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CameraController : MonoBehaviour
{
[SerializeField] private Transform player;
private Vector3 offset;
void Start()
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Score : MonoBehaviour
{
[SerializeField] private Transform player;
[SerializeField] private Text scoreText;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerController : MonoBehaviour
{
private CharacterController controller;
private Animator anim;
private Vector3 dir;
[SerializeField] private int speed;
using System;
using System.Collections.Generic;
using Telegram.Bot;
using Telegram.Bot.Args;
using Telegram.Bot.Types.ReplyMarkups;
namespace Telegram_Bot
{
class Program
{
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class PlayerController : MonoBehaviour
{
private CharacterController controller;
private Animator anim;
private Vector3 dir;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class PlayerController : MonoBehaviour
{
private CharacterController controller;
private CapsuleCollider col;
private Animator anim;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Coin : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{