This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using System.Linq; | |
public class ObectPool : MonoBehaviour | |
{ | |
[SerializeField] private GameObject _container; | |
[SerializeField] private int _capacity; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |