This file contains hidden or 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 UnityEngine; | |
| using UnityEngine.InputSystem; | |
| using Assets.Scripts.Data; | |
| using Assets.Scripts.Map; | |
| public class MovingForMouse : MonoBehaviour | |
| { | |
| [Header("Настройки скорости")] | |
| public float speed = 20f; | |
| public float smoothing = 10f; |
This file contains hidden or 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 Assets.Scripts.Map; | |
| using TMPro; | |
| using UnityEngine; | |
| using UnityEngine.UI; | |
| namespace Assets.Scripts.UI | |
| { | |
| public class LoadingUI : MonoBehaviour | |
| { |
This file contains hidden or 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 Assets.Scripts.Data; | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Text; | |
| using Unity.Burst; | |
| using Unity.Collections; | |
| using Unity.Jobs; | |
| namespace Assets.Scripts.Map | |
| { |
This file contains hidden or 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.Generic; | |
| using System.Text; | |
| namespace Assets.Scripts.Data | |
| { | |
| [Serializable] | |
| public struct BuildingData | |
| { | |
| public TypeBuilding type; |
This file contains hidden or 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.Generic; | |
| using System.Text; | |
| namespace Assets.Scripts.Data.Definitions | |
| { | |
| public sealed class MineBuilding : BuildingDefinition | |
| { | |
| public MineBuilding() | |
| { |