Skip to content

Instantly share code, notes, and snippets.

View khokhryakov47's full-sized avatar

khokhryakov47

View GitHub Profile
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PhysicsMovement : MonoBehaviour
{
[SerializeField] private float _minGroundNormalY = .65f;
[SerializeField] private float _gravityModifier = 1f;
[SerializeField] private Vector2 _velocity;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Linq;
public class ObectPool : MonoBehaviour
{
[SerializeField] private GameObject _container;
[SerializeField] private int _capacity;
using System.Collections;
using UnityEngine;
using UnityEngine.Events;
using UnityEngine.UI;
[RequireComponent(typeof(BuildingGrid))]
public class Builder : MonoBehaviour
{
[SerializeField] private EventStorage _eventStorage;
[SerializeField] private Timer _buildingTimerTemplate;