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 UnityEngine; | |
| using UnityEngine.Tilemaps; | |
| using Random = UnityEngine.Random; | |
| public class PlayerAnimator : MonoBehaviour { | |
| [SerializeField] private float _minImpactForce = 20; | |
| // Anim times can be gathered from the state itself, but | |
| // for the simplicity of the video... |
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.SceneManagement; | |
| using UnityEngine.UI; | |
| public class SceneTransition : MonoBehaviour | |
| { | |
| public Text LoadingPercentage; | |
| public Image LoadingProgressBar; | |
| private static SceneTransition instance; |
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
| Как удалить любую папку, в т.ч. и .idea, и лишние файлы из Git | |
| Создаем файл .gitignore в корне репозитария с содержимым: | |
| .idea | |
| logs/ | |
| ------------------------------------------------------------------ | |
| Подробнее можно ознакомиться на странице: https://git-scm.com/book/ru/v1/Основы-Git-Запись-изменений-в-репозиторий | |
| Удаляем ненужные папки и файлы при синхронизации в Git репозиторий |