diff --git a/.idea/.idea.Infra/.idea/workspace.xml b/.idea/.idea.Infra/.idea/workspace.xml index 9037b62..dd7a278 100644 --- a/.idea/.idea.Infra/.idea/workspace.xml +++ b/.idea/.idea.Infra/.idea/workspace.xml @@ -5,48 +5,47 @@ - - + + + + + + + + + + + - - - - - + + + + + + - - - - - + + + + - - - - - - - - + + + + + - - - - - - - + - - + + @@ -121,10 +121,10 @@ - + @@ -171,23 +175,4 @@ - - - - - file://$PROJECT_DIR$/Assets/Code/Example/Platformer/PlatformerSceneInstaller.cs - 68 - - - - - - - - - - \ No newline at end of file diff --git a/Assets/AddressableAssetsData/AddressableAssetSettings.asset b/Assets/AddressableAssetsData/AddressableAssetSettings.asset index 123ded4..39f7cde 100644 --- a/Assets/AddressableAssetsData/AddressableAssetSettings.asset +++ b/Assets/AddressableAssetsData/AddressableAssetSettings.asset @@ -15,7 +15,7 @@ MonoBehaviour: m_DefaultGroup: d790534e015d692428ac5a9ce7d2ceb6 m_currentHash: serializedVersion: 2 - Hash: 6ac6f4ebd726e03a1c07efe42bb1b362 + Hash: 63f5b0abd51db559520e61cb22c7ee3a m_OptimizeCatalogSize: 0 m_BuildRemoteCatalog: 0 m_CatalogRequestsTimeout: 0 diff --git a/Assets/AddressableAssetsData/AssetGroups/Default Local Group.asset b/Assets/AddressableAssetsData/AssetGroups/Default Local Group.asset index 2e215b2..9eda5fd 100644 --- a/Assets/AddressableAssetsData/AssetGroups/Default Local Group.asset +++ b/Assets/AddressableAssetsData/AssetGroups/Default Local Group.asset @@ -68,11 +68,31 @@ MonoBehaviour: m_ReadOnly: 0 m_SerializedLabels: [] FlaggedDuringContentUpdateRestriction: 0 + - m_GUID: 1e1fce0a447e4524eb3c7e8b0ec71c7c + m_Address: Assets/Resources_moved/Example/Platformer/Platformer 2.unity + m_ReadOnly: 0 + m_SerializedLabels: [] + FlaggedDuringContentUpdateRestriction: 0 + - m_GUID: 1ffad73500b8c4a46b36468ab4d5c56c + m_Address: Assets/Resources_moved/Example/Platformer/Platformer 3.unity + m_ReadOnly: 0 + m_SerializedLabels: [] + FlaggedDuringContentUpdateRestriction: 0 - m_GUID: 2044ec9a33380e7239855e26a9d8bcc5 m_Address: Assets/Resources_moved/Audio/UI/launch_selectmenu.wav m_ReadOnly: 0 m_SerializedLabels: [] FlaggedDuringContentUpdateRestriction: 0 + - m_GUID: 20b79feef28c6924f99d43b2d66b79ac + m_Address: Assets/Resources_moved/Example/Platformer/Audio/get2.wav + m_ReadOnly: 0 + m_SerializedLabels: [] + FlaggedDuringContentUpdateRestriction: 0 + - m_GUID: 22d559d7081d98649a627ca74e5e26d3 + m_Address: Assets/Resources_moved/Example/Platformer/Audio/crush.wav + m_ReadOnly: 0 + m_SerializedLabels: [] + FlaggedDuringContentUpdateRestriction: 0 - m_GUID: 234ab51636edcbab88dbadfdb7fbfe65 m_Address: Example/Platformer/Characters/Player/Player m_ReadOnly: 0 @@ -101,6 +121,11 @@ MonoBehaviour: m_SerializedLabels: - AudioInfoConfig FlaggedDuringContentUpdateRestriction: 0 + - m_GUID: 2f48f0019cce4a047bb5878796f90316 + m_Address: Example/Platformer/Audio/With_S2 + m_ReadOnly: 0 + m_SerializedLabels: [] + FlaggedDuringContentUpdateRestriction: 0 - m_GUID: 2f99b96d93cb35086b74d1b8c4111f90 m_Address: Assets/Resources_moved/Example/Race/SceneChooser.asset m_ReadOnly: 0 @@ -113,6 +138,13 @@ MonoBehaviour: m_SerializedLabels: - PostProccessVolume FlaggedDuringContentUpdateRestriction: 0 + - m_GUID: 35af072d3b1b6cf4688cd843ea8619ef + m_Address: Assets/Resources_moved/Example/Platformer/Configs/Audio/EnemyDeath + 1.asset + m_ReadOnly: 0 + m_SerializedLabels: + - AudioInfoConfig + FlaggedDuringContentUpdateRestriction: 0 - m_GUID: 3a4a23e1c0a57dd49b451aa86b9baa3a m_Address: Assets/Resources_moved/Configs/Scenes/SoundTest.asset m_ReadOnly: 0 @@ -142,6 +174,11 @@ MonoBehaviour: m_SerializedLabels: - SceneConfig FlaggedDuringContentUpdateRestriction: 0 + - m_GUID: 4b5011c8b31164d418f96afe213172ce + m_Address: Example/Platformer/Audio/stare + m_ReadOnly: 0 + m_SerializedLabels: [] + FlaggedDuringContentUpdateRestriction: 0 - m_GUID: 4bf97e6c7f046f849912182e4ded6c9e m_Address: Assets/Resources_moved/Configs/Audio/Settings/AudioSourceSettingsConfig 1.asset @@ -154,6 +191,12 @@ MonoBehaviour: m_ReadOnly: 0 m_SerializedLabels: [] FlaggedDuringContentUpdateRestriction: 0 + - m_GUID: 4e1c17d1e33b9994891321c0ef47c179 + m_Address: Assets/Resources_moved/Example/Platformer/Configs/Audio/Hit.asset + m_ReadOnly: 0 + m_SerializedLabels: + - AudioInfoConfig + FlaggedDuringContentUpdateRestriction: 0 - m_GUID: 4fcdb7f979b60194db1fb5c03b81bf8c m_Address: UI/Panels/LoadingPanel m_ReadOnly: 0 @@ -193,6 +236,11 @@ MonoBehaviour: m_SerializedLabels: - LayerMaskConfig FlaggedDuringContentUpdateRestriction: 0 + - m_GUID: 6a787ed54bab3244cacb4a73ebe09691 + m_Address: Example/Platformer/Audio/staticend2 + m_ReadOnly: 0 + m_SerializedLabels: [] + FlaggedDuringContentUpdateRestriction: 0 - m_GUID: 6a86e03165bcd491ba987514d0da38bd m_Address: Assets/Resources_moved/Configs/Audio/Infos/UI/launchSelect1.asset m_ReadOnly: 0 @@ -209,6 +257,12 @@ MonoBehaviour: m_ReadOnly: 0 m_SerializedLabels: [] FlaggedDuringContentUpdateRestriction: 0 + - m_GUID: 74a3a6c4ec774af4fa370074bfd17c40 + m_Address: Assets/Resources_moved/Example/Platformer/Configs/Audio/Death.asset + m_ReadOnly: 0 + m_SerializedLabels: + - AudioInfoConfig + FlaggedDuringContentUpdateRestriction: 0 - m_GUID: 77a268730c52ad461920f3459fdda1a0 m_Address: Assets/Resources_moved/Example/Platformer/Snail.prefab m_ReadOnly: 0 @@ -220,17 +274,40 @@ MonoBehaviour: m_SerializedLabels: - PlatformerEntity FlaggedDuringContentUpdateRestriction: 0 + - m_GUID: 79588608023cfce47b4005cea63a8396 + m_Address: Assets/Resources_moved/Example/Platformer/Configs/Platformer 3.asset + m_ReadOnly: 0 + m_SerializedLabels: + - SceneConfig + FlaggedDuringContentUpdateRestriction: 0 + - m_GUID: 79892e8ea650c864fa8eb1184556cb42 + m_Address: Assets/Resources_moved/Example/Platformer/Audio/insuit.wav + m_ReadOnly: 0 + m_SerializedLabels: [] + FlaggedDuringContentUpdateRestriction: 0 - m_GUID: 7a5ae0cc826b85108aa9f0681d7f85cc m_Address: Assets/Resources_moved/Example/Race/Configs/AIRed.asset m_ReadOnly: 0 m_SerializedLabels: - RacerConfig FlaggedDuringContentUpdateRestriction: 0 + - m_GUID: 7d8290233b2e82e4e9a8f85ca8b2e26d + m_Address: Assets/Resources_moved/Example/Platformer/Configs/Audio/GameEnd.asset + m_ReadOnly: 0 + m_SerializedLabels: + - AudioInfoConfig + FlaggedDuringContentUpdateRestriction: 0 - m_GUID: 7eaa3bbea72a3b313878e71bc992c5fd m_Address: Assets/Resources_moved/Audio/UI/launch_select2.wav m_ReadOnly: 0 m_SerializedLabels: [] FlaggedDuringContentUpdateRestriction: 0 + - m_GUID: 865efba1bf0303b46ad5262bd945e4bd + m_Address: Assets/Resources_moved/Example/Platformer/Configs/Audio/EnemyDeath.asset + m_ReadOnly: 0 + m_SerializedLabels: + - AudioInfoConfig + FlaggedDuringContentUpdateRestriction: 0 - m_GUID: 86d0b6ef35383e7409df5a352637fea7 m_Address: UI/Panels/SceneSelectPanel m_ReadOnly: 0 @@ -241,6 +318,11 @@ MonoBehaviour: m_ReadOnly: 0 m_SerializedLabels: [] FlaggedDuringContentUpdateRestriction: 0 + - m_GUID: 8d4c5cacc797c0e45ae5f7f467619e98 + m_Address: Assets/Resources_moved/Example/Platformer/Audio/jump2.wav + m_ReadOnly: 0 + m_SerializedLabels: [] + FlaggedDuringContentUpdateRestriction: 0 - m_GUID: 8fdc11fcf9c4c2e279902e8d1b6df718 m_Address: Assets/Resources_moved/Configs/Audio/Infos/UI/ButtonClickRelease.asset m_ReadOnly: 0 @@ -263,6 +345,11 @@ MonoBehaviour: m_ReadOnly: 0 m_SerializedLabels: [] FlaggedDuringContentUpdateRestriction: 0 + - m_GUID: 9fa1fde1ddb533d4b8f4a758cc83a696 + m_Address: Assets/Resources_moved/Example/Platformer/Audio/laugh.wav + m_ReadOnly: 0 + m_SerializedLabels: [] + FlaggedDuringContentUpdateRestriction: 0 - m_GUID: a63ae4e1d4b750b8a819dbadffa4b9f7 m_Address: Assets/Resources_moved/Configs/Audio/Infos/UI/launchSelect2.asset m_ReadOnly: 0 @@ -296,11 +383,22 @@ MonoBehaviour: m_ReadOnly: 0 m_SerializedLabels: [] FlaggedDuringContentUpdateRestriction: 0 + - m_GUID: c98ca8f1bfb12944db084a76779f68f0 + m_Address: Example/Platformer/Audio/COMPUTER_DIGITAL_L2076605 + m_ReadOnly: 0 + m_SerializedLabels: [] + FlaggedDuringContentUpdateRestriction: 0 - m_GUID: c9ba47101ea957549b0379d4e5fae54c m_Address: Assets/Scenes/MainMenu.unity m_ReadOnly: 0 m_SerializedLabels: [] FlaggedDuringContentUpdateRestriction: 0 + - m_GUID: cbab0864467bc624caa2e614a126d198 + m_Address: Assets/Resources_moved/Example/Platformer/Configs/Platformer 2.asset + m_ReadOnly: 0 + m_SerializedLabels: + - SceneConfig + FlaggedDuringContentUpdateRestriction: 0 - m_GUID: cbab6f2c86f23fd48b3ec4b8885b9889 m_Address: Assets/Scenes/SoundTest.unity m_ReadOnly: 0 @@ -371,6 +469,16 @@ MonoBehaviour: m_SerializedLabels: - AudioSettingsConfig FlaggedDuringContentUpdateRestriction: 0 + - m_GUID: ed92a969702a16c4e812b41bbb8ec1b9 + m_Address: Assets/Resources_moved/Example/Platformer/Audio/deepbreaths.wav + m_ReadOnly: 0 + m_SerializedLabels: [] + FlaggedDuringContentUpdateRestriction: 0 + - m_GUID: ee1bcba8581e635469885eb08401a519 + m_Address: Assets/Resources_moved/Example/Platformer/Audio/get.wav + m_ReadOnly: 0 + m_SerializedLabels: [] + FlaggedDuringContentUpdateRestriction: 0 - m_GUID: ef1b55458defd6ca99e4006b21b9cb02 m_Address: Assets/Resources_moved/Example/Platformer/Configs/Enemies/Bee.asset m_ReadOnly: 0 @@ -393,6 +501,11 @@ MonoBehaviour: m_SerializedLabels: - SceneConfig FlaggedDuringContentUpdateRestriction: 0 + - m_GUID: f5e32ea95f06f484daca2ff3a1f1a3d8 + m_Address: Example/Platformer/Audio/static2 + m_ReadOnly: 0 + m_SerializedLabels: [] + FlaggedDuringContentUpdateRestriction: 0 - m_GUID: f60baf3e133aa2644a106742a1f2c2fb m_Address: Assets/Resources_moved/Example/Race/WinScreen.prefab m_ReadOnly: 0 diff --git a/Assets/Code/Example/Platformer/Entity/Enemies/Boar.cs b/Assets/Code/Example/Platformer/Entity/Enemies/Boar.cs index 78a2f24..3caf667 100644 --- a/Assets/Code/Example/Platformer/Entity/Enemies/Boar.cs +++ b/Assets/Code/Example/Platformer/Entity/Enemies/Boar.cs @@ -1,4 +1,8 @@ +using System; +using Code.Infrastructure.Audio; using Code.Infrastructure.Configs; +using Cysharp.Threading.Tasks; +using Reflex.Attributes; using UnityEngine; namespace Code.Example.Platformer.Entity.Enemies @@ -11,11 +15,42 @@ namespace Code.Example.Platformer.Entity.Enemies private float _acceleration = 3f; + [SerializeField] private EntityHealth health; + + [Inject] private IAudioService _audioService; + private void Start() + { + health.OnEntityDamage = OnEntityDamage; + health.OnEntityDeath = OnEntityDeath; + } + + private void OnEntityDeath() + { + animator.SetBool(Died, true); + animator.SetTrigger(OnDeath); + Die().Forget(); + } + + private async UniTaskVoid Die() + { + await UniTask.WaitForSeconds(1); + _audioService.PlayOneShot(AudioNames.Platformer, 3 ); + Destroy(gameObject); + } + private void OnEntityDamage(int obj) + { + _audioService.PlayOneShot(AudioNames.Platformer, 2); + UnityEngine.Debug.Log(gameObject.name + " damaged"); + animator.SetTrigger(OnHit); + } + protected override void Move() { + if (health.IsDead) return; if (_target) { - _directionRight = ((_target.position - transform.position)).x > float.Epsilon; + TryAttack(); + _directionRight = (_target.position - transform.position).x > float.Epsilon; UnityEngine.Debug.DrawLine(transform.position, (transform.position + (_target.position - transform.position)), Color.salmon); CheckupDirection(); @@ -30,7 +65,7 @@ namespace Code.Example.Platformer.Entity.Enemies rigidbody2D.linearVelocityX = _directionRight ? 0.5f : -0.5f; } } - + protected override void HandleFlipX() => spriteRenderer.flipX = rigidbody2D.linearVelocity.x > -0.01f; private void CheckupDirection() @@ -45,9 +80,15 @@ namespace Code.Example.Platformer.Entity.Enemies LayerMasks.Masks[LayerMaskType.PlatformerGround])) _directionRight = true; } + + private void TryAttack() + { + if ((transform.position - _target.position).magnitude < attackThreshold) _target.GetComponent().GiveDamage(1); + } private Transform _target; - + private float attackThreshold = 0.5f; + public void GotTarget(Transform target) { _target = target; diff --git a/Assets/Code/Example/Platformer/Entity/Entity.cs b/Assets/Code/Example/Platformer/Entity/Entity.cs index 99f66e9..f137041 100644 --- a/Assets/Code/Example/Platformer/Entity/Entity.cs +++ b/Assets/Code/Example/Platformer/Entity/Entity.cs @@ -5,26 +5,42 @@ namespace Code.Example.Platformer.Entity { public abstract class Entity : MonoBehaviour { - private static readonly int VelocityY = Animator.StringToHash("VelocityY"); - private static readonly int VelocityX = Animator.StringToHash("VelocityX"); - private static readonly int OnGround = Animator.StringToHash("OnGround"); + protected static readonly int VelocityY = Animator.StringToHash("VelocityY"); + protected static readonly int VelocityX = Animator.StringToHash("VelocityX"); + protected static readonly int OnGround = Animator.StringToHash("OnGround"); + protected static readonly int OnHit = Animator.StringToHash("OnHit"); + protected static readonly int OnDeath = Animator.StringToHash("OnDeath"); + protected static readonly int Died = Animator.StringToHash("Died"); [SerializeField] protected Rigidbody2D rigidbody2D; [SerializeField] protected Animator animator; [SerializeField] protected SpriteRenderer spriteRenderer; [SerializeField] private Vector2 groundPoint; - private PlatformerEntityData _data; - + private PlatformerEntityData _data; // TODO + protected bool isFreezed; + protected bool onGround; public void SetData(PlatformerEntityData data) { _data = data; } - protected bool onGround; + public void Freeze() + { + rigidbody2D.bodyType = RigidbodyType2D.Kinematic; + isFreezed = true; + } + public void UnFreeze() + { + rigidbody2D.bodyType = RigidbodyType2D.Dynamic; + isFreezed = false; + } + protected virtual void Update() { + if(isFreezed) return; + animator.SetFloat(VelocityX, rigidbody2D.linearVelocityX); animator.SetFloat(VelocityY, rigidbody2D.linearVelocityY); } @@ -33,6 +49,8 @@ namespace Code.Example.Platformer.Entity protected virtual void FixedUpdate() { + if(isFreezed) return; + onGround = CheckGround(); animator.SetBool(OnGround, onGround); @@ -48,8 +66,5 @@ namespace Code.Example.Platformer.Entity } protected abstract void Move(); - - public virtual void OnGetDamage(){} - public virtual void OnDeath(){} } } \ No newline at end of file diff --git a/Assets/Code/Example/Platformer/Entity/EntityHealth.cs b/Assets/Code/Example/Platformer/Entity/EntityHealth.cs index b51c367..b98fcc8 100644 --- a/Assets/Code/Example/Platformer/Entity/EntityHealth.cs +++ b/Assets/Code/Example/Platformer/Entity/EntityHealth.cs @@ -1,4 +1,6 @@ +using System; using Code.Infrastructure.EventBus; +using Cysharp.Threading.Tasks; using Reflex.Attributes; using UnityEngine; @@ -8,19 +10,47 @@ namespace Code.Example.Platformer.Entity { private int _health; private int _maxHealth; - public void SetMaxHealth(int maxHealth) => _maxHealth = maxHealth; + private float _damageThreshold; + + public void Setup(int maxHealth, float damageThreshold) + { + _maxHealth = maxHealth; + _health = maxHealth; + _damageThreshold = damageThreshold; + } + public bool IsDead { get; private set; } + private bool _isDamageable = true; - [Inject] private EventBus _eventBus; - [SerializeField] private Entity entity; - + [Inject] private EventBus _eventBus; + + public Action OnEntityHeal; + public Action OnEntityDamage; + public Action OnEntityDeath; + + private async UniTaskVoid WaitThreshold() + { + await UniTask.WaitForSeconds(_damageThreshold); + _isDamageable = true; + } public void GiveDamage(int damage) { + if (!_isDamageable) return; + _health -= damage; - if(_health <= 0) IsDead = true; + _isDamageable = false; + OnEntityDamage?.Invoke(_health); + + if(_health <= 0) + { + IsDead = true; + OnEntityDeath?.Invoke(); + } _eventBus.RaiseEvent(x=> x.EntityDamaged(gameObject, damage, IsDead)); + + WaitThreshold().Forget(); } public void Heal(int heal) @@ -29,6 +59,8 @@ namespace Code.Example.Platformer.Entity if (_health + heal > _maxHealth) _health = _maxHealth; else _health += heal; + OnEntityHeal?.Invoke(_health); + _eventBus.RaiseEvent(x=> x.EntityHealed(gameObject, heal)); } } diff --git a/Assets/Code/Example/Platformer/Entity/PlatformerEnemyFactory.cs b/Assets/Code/Example/Platformer/Entity/PlatformerEnemyFactory.cs index 75af65a..3ed9a59 100644 --- a/Assets/Code/Example/Platformer/Entity/PlatformerEnemyFactory.cs +++ b/Assets/Code/Example/Platformer/Entity/PlatformerEnemyFactory.cs @@ -4,9 +4,12 @@ using System.Linq; using Code.Infrastructure.Configs; using Code.Infrastructure.EventBus; using Cysharp.Threading.Tasks; +using Reflex.Core; +using Reflex.Injectors; using UnityEngine; using UnityEngine.AddressableAssets; using UnityEngine.ResourceManagement.AsyncOperations; +using Object = UnityEngine.Object; namespace Code.Example.Platformer.Entity { @@ -15,7 +18,7 @@ namespace Code.Example.Platformer.Entity UniTaskVoid WarmEnemy(PlatformerEntityType enemyType); void ReleaseEnemy(PlatformerEntityType racerType); - UniTaskVoid SpawnEnemy( + void SpawnEnemy( PlatformerEntityType enemyType, Vector3 position); } @@ -67,10 +70,6 @@ namespace Code.Example.Platformer.Entity await _enemyPrefabsHandle[enemyType].ToUniTask(); var entity = _enemyPrefabsHandle[enemyType].Result.GetComponent(); - entity.SetData(_enemyConfigs[enemyType].EntityData); - - var health = _enemyPrefabsHandle[enemyType].Result.GetComponent(); - health.SetMaxHealth(_enemyConfigs[enemyType].EntityData.maxHealth); _eventBus.RaiseEvent(x => x.PlatformerEnemyLoaded(enemyType, entity)); } @@ -81,13 +80,21 @@ namespace Code.Example.Platformer.Entity _enemyPrefabsHandle.Remove(racerType); } - public async UniTaskVoid SpawnEnemy( + public void SpawnEnemy( PlatformerEntityType enemyType, Vector3 position) { if (enemyType == PlatformerEntityType.Player) return; - await Addressables.InstantiateAsync(_enemyConfigs[enemyType].prefabReference, position, Quaternion.identity); + var gameObject = Object.Instantiate(_enemyPrefabsHandle[enemyType].Result, position, Quaternion.identity); + + var entity = gameObject.GetComponent(); + entity.SetData(_enemyConfigs[enemyType].EntityData); + + var health = gameObject.GetComponent(); + health.Setup(_enemyConfigs[enemyType].EntityData.maxHealth, _enemyConfigs[enemyType].EntityData.damageRecieveThreshold); + + GameObjectInjector.InjectObject(gameObject, Container.RootContainer); } public void Dispose() diff --git a/Assets/Code/Example/Platformer/Entity/PlatformerEntitySettings.cs b/Assets/Code/Example/Platformer/Entity/PlatformerEntitySettings.cs index f907d5c..ac6608f 100644 --- a/Assets/Code/Example/Platformer/Entity/PlatformerEntitySettings.cs +++ b/Assets/Code/Example/Platformer/Entity/PlatformerEntitySettings.cs @@ -1,6 +1,7 @@ using System; using Code.Infrastructure.Generators; using UnityEngine.AddressableAssets; +using UnityEngine.Serialization; namespace Code.Example.Platformer.Entity { @@ -14,6 +15,7 @@ namespace Code.Example.Platformer.Entity public int damage; public PlatformerEntityType type; public int maxHealth; + public float damageRecieveThreshold; } public enum PlatformerEntityType diff --git a/Assets/Code/Example/Platformer/Entity/PlatformerPlayerFactory.cs b/Assets/Code/Example/Platformer/Entity/PlatformerPlayerFactory.cs index 8c7a133..aad5f6b 100644 --- a/Assets/Code/Example/Platformer/Entity/PlatformerPlayerFactory.cs +++ b/Assets/Code/Example/Platformer/Entity/PlatformerPlayerFactory.cs @@ -10,15 +10,16 @@ using UnityEngine; using UnityEngine.AddressableAssets; using UnityEngine.ResourceManagement.AsyncOperations; using UnityEngine.SceneManagement; +using Object = UnityEngine.Object; namespace Code.Example.Platformer.Entity { public interface IPlatformerPlayerFactory { - UniTaskVoid LoadPlayer(); + UniTaskVoid WarmPlayer(); void ReleasePlayer(); - UniTaskVoid SpawnPlayer(Vector3 position); + void SpawnPlayer(Vector3 position); } public class PlatformerPlayerFactory : IPlatformerPlayerFactory, IDisposable @@ -50,7 +51,7 @@ namespace Code.Example.Platformer.Entity _eventBus.RaiseEvent(x => x.PlatformerPlayerFactoryInitialized()); } - public async UniTaskVoid LoadPlayer() + public async UniTaskVoid WarmPlayer() { if (_playerPrefabHandle.IsValid()) { @@ -63,8 +64,6 @@ namespace Code.Example.Platformer.Entity _playerPrefabHandle = Addressables.LoadAssetAsync(_playerConfig.prefabReference); await _playerPrefabHandle.ToUniTask(); - var racer = _playerPrefabHandle.Result.GetComponent(); - racer.SetData(_playerConfig.EntityData); _eventBus.RaiseEvent(x => x.PlatformerPlayerLoaded()); } @@ -74,11 +73,20 @@ namespace Code.Example.Platformer.Entity _playerPrefabHandle.Release(); } - public async UniTaskVoid SpawnPlayer(Vector3 position) + public void SpawnPlayer(Vector3 position) { - var player = await Addressables.InstantiateAsync(_playerConfig.prefabReference, position, Quaternion.identity).ToUniTask(); + var player = Object.Instantiate(_playerPrefabHandle.Result, position, Quaternion.identity); + + var racer = player.GetComponent(); + racer.SetData(_playerConfig.EntityData); + + var health = player.GetComponent(); + health.Setup(_playerConfig.EntityData.maxHealth, _playerConfig.EntityData.damageRecieveThreshold); + GameObjectInjector.InjectObject(player, Container.RootContainer); // TODO САМОЕ НЕСТАБИЛЬНОЕ ДЕРЬМО ВО ВСЕЛЕННОЙ КОНТЕЙНЕР ДОЛЖЕН БЫТЬ КОНТЕКСТНЫМ - _eventBus.RaiseEvent(x => x.PlatformerPlayerSpawned(player.GetComponent())); + + _eventBus.RaiseEvent( + x => x.PlatformerPlayerSpawned(player.GetComponent())); } public void Dispose() diff --git a/Assets/Code/Example/Platformer/Entity/PlayerEntity.cs b/Assets/Code/Example/Platformer/Entity/PlayerEntity.cs index d5809a8..cc8e03c 100644 --- a/Assets/Code/Example/Platformer/Entity/PlayerEntity.cs +++ b/Assets/Code/Example/Platformer/Entity/PlayerEntity.cs @@ -1,3 +1,4 @@ +using System; using Code.Infrastructure.Audio; using Code.Infrastructure.Camera; using Code.Infrastructure.Configs; @@ -32,6 +33,11 @@ namespace Code.Example.Platformer.Entity } private void OnDestroy() + { + if(!health.IsDead) UnbindControls(); + } + + private void UnbindControls() { _inputService.UnbindActionPerformed((int)ActionMappings.Platformer, (int)PlatformerActions.Move, MovementPerformed); @@ -65,6 +71,8 @@ namespace Code.Example.Platformer.Entity rigidbody2D.AddForceY(100f); _acceleration = 1f; + + _audioService.PlayOneShot(AudioNames.Platformer, 6); } [SerializeField] private Vector2 attackOffset; @@ -75,7 +83,7 @@ namespace Code.Example.Platformer.Entity // // - _audioService.PlayOneShot(AudioNames.UISounds, 1); + _audioService.PlayOneShot(AudioNames.Platformer, 1); animator.SetBool(OnAttack, true); } @@ -89,7 +97,6 @@ namespace Code.Example.Platformer.Entity foreach (var damaged in damagedOnes) { damaged.gameObject.GetComponent().GiveDamage(1); - _audioService.PlayOneShot(AudioNames.UISounds, 2); } } @@ -105,5 +112,28 @@ namespace Code.Example.Platformer.Entity } public void AttackEnd() => animator.SetBool(OnAttack, false); + + [SerializeField] private EntityHealth health; + + private void Start() + { + health.OnEntityDeath = OnEntityDeath; + health.OnEntityDamage = OnEntityDamage; + } + + private void OnEntityDamage(int obj) + { + UnityEngine.Debug.Log("Player damaged"); + } + + private void OnEntityDeath() + { + _moveDirection = Vector2.zero; + + animator.SetBool(Died, true); + + UnbindControls(); + // Destroy(gameObject, 1f); + } } } \ No newline at end of file diff --git a/Assets/Code/Example/Platformer/Level/LevelEndTrigger.cs b/Assets/Code/Example/Platformer/Level/LevelEndTrigger.cs new file mode 100644 index 0000000..9b2dc6d --- /dev/null +++ b/Assets/Code/Example/Platformer/Level/LevelEndTrigger.cs @@ -0,0 +1,14 @@ +using Code.Infrastructure.EventBus; +using Reflex.Attributes; +using UnityEngine; + +namespace Code.Example.Platformer.Level +{ + public class LevelEndTrigger : MonoBehaviour + { + [Inject] private EventBus _eventBus; + + private void OnTriggerEnter2D(Collider2D other) => + _eventBus.RaiseEvent(x=> x.PlayerReachedFinish()); + } +} \ No newline at end of file diff --git a/Assets/Code/Example/Platformer/Level/LevelEndTrigger.cs.meta b/Assets/Code/Example/Platformer/Level/LevelEndTrigger.cs.meta new file mode 100644 index 0000000..a49e839 --- /dev/null +++ b/Assets/Code/Example/Platformer/Level/LevelEndTrigger.cs.meta @@ -0,0 +1,3 @@ +fileFormatVersion: 2 +guid: 8241eab603dc4d86bb4bac79c0cb9740 +timeCreated: 1774254263 \ No newline at end of file diff --git a/Assets/Code/Example/Platformer/Platformer2SceneInstaller.cs b/Assets/Code/Example/Platformer/Platformer2SceneInstaller.cs new file mode 100644 index 0000000..c8313aa --- /dev/null +++ b/Assets/Code/Example/Platformer/Platformer2SceneInstaller.cs @@ -0,0 +1,28 @@ +using Code.Example.Platformer.Level; +using Code.Infrastructure.EventBus; +using Code.Infrastructure.SceneLoader; +using Reflex.Core; +using UnityEngine; + +namespace Code.Example.Platformer +{ + public class Platformer2SceneInstaller : + MonoBehaviour, + IInstaller + { + // [SerializeField] private PlatformerCanvas gameplayPlatformerCanvas; + [SerializeField] private PlatformerFirstLevelData firstLevelData; + + public void InstallBindings(ContainerBuilder containerBuilder) + { + containerBuilder.RegisterValue(firstLevelData); + containerBuilder.OnContainerBuilt += OnContainerBuild; + } + + private void OnContainerBuild(Container container) + { + container.Resolve() + .RaiseEvent(x => x.OnPlatformer2SceneInitialized(container)); + } + } +} \ No newline at end of file diff --git a/Assets/Code/Example/Platformer/Platformer2SceneInstaller.cs.meta b/Assets/Code/Example/Platformer/Platformer2SceneInstaller.cs.meta new file mode 100644 index 0000000..407e36a --- /dev/null +++ b/Assets/Code/Example/Platformer/Platformer2SceneInstaller.cs.meta @@ -0,0 +1,3 @@ +fileFormatVersion: 2 +guid: 9f7e699014b54f2ca9338e1168db97e3 +timeCreated: 1774253993 \ No newline at end of file diff --git a/Assets/Code/Example/Platformer/Platformer3SceneInstaller.cs b/Assets/Code/Example/Platformer/Platformer3SceneInstaller.cs new file mode 100644 index 0000000..3951749 --- /dev/null +++ b/Assets/Code/Example/Platformer/Platformer3SceneInstaller.cs @@ -0,0 +1,28 @@ +using Code.Example.Platformer.Level; +using Code.Infrastructure.EventBus; +using Code.Infrastructure.SceneLoader; +using Reflex.Core; +using UnityEngine; + +namespace Code.Example.Platformer +{ + public class Platformer3SceneInstaller: + MonoBehaviour, + IInstaller + { + // [SerializeField] private PlatformerCanvas gameplayPlatformerCanvas; + [SerializeField] private PlatformerFirstLevelData firstLevelData; + + public void InstallBindings(ContainerBuilder containerBuilder) + { + containerBuilder.RegisterValue(firstLevelData); + containerBuilder.OnContainerBuilt += OnContainerBuild; + } + + private void OnContainerBuild(Container container) + { + container.Resolve() + .RaiseEvent(x => x.OnPlatformer3SceneInitialized(container)); + } + } +} \ No newline at end of file diff --git a/Assets/Code/Example/Platformer/Platformer3SceneInstaller.cs.meta b/Assets/Code/Example/Platformer/Platformer3SceneInstaller.cs.meta new file mode 100644 index 0000000..3545f87 --- /dev/null +++ b/Assets/Code/Example/Platformer/Platformer3SceneInstaller.cs.meta @@ -0,0 +1,3 @@ +fileFormatVersion: 2 +guid: f8ad38e6ff54474d8df1d26cb18c2d09 +timeCreated: 1774254152 \ No newline at end of file diff --git a/Assets/Code/Example/Platformer/PlatformerSceneInstaller.cs b/Assets/Code/Example/Platformer/PlatformerSceneInstaller.cs index c530183..9f1374e 100644 --- a/Assets/Code/Example/Platformer/PlatformerSceneInstaller.cs +++ b/Assets/Code/Example/Platformer/PlatformerSceneInstaller.cs @@ -18,10 +18,9 @@ namespace Code.Example.Platformer IPlatformerPlayerFactoryInitializedHandle, IDisposable { - // [SerializeField] private PlatformerCanvas gameplayPlatformerCanvas; - [SerializeField] private PlatformerFirstLevelData firstLevelData; private Loading _sceneInit; + private Container _container; private void LoadingComplete() { @@ -36,33 +35,21 @@ namespace Code.Example.Platformer // Container _sceneInit = new(3, LoadingComplete); - // containerBuilder.RegisterValue(gameplayPlatformerCanvas); containerBuilder.Parent.Resolve().Subscribe(this); - containerBuilder.RegisterValue(firstLevelData); containerBuilder.RegisterType(typeof(PlatformerEnemyFactory), new []{typeof(IPlatformerEnemyFactory)}, Lifetime.Scoped, Resolution.Eager); containerBuilder.RegisterType(typeof(PlatformerPlayerFactory), new []{typeof(IPlatformerPlayerFactory)}, Lifetime.Scoped, Resolution.Eager); containerBuilder.OnContainerBuilt += OnContainerBuild; } - private Container _container; private void OnContainerBuild(Container container) { - // gameplayPlatformerCanvas.GameplayPlatformerCanvas.worldCamera = - // container.Resolve().cameraLoadedData.Camera; - _container = container; _sceneInit.DoProgress(); } - public void PlatformerEnemyFactoryInitialized() - { - _sceneInit.DoProgress(); - } + public void PlatformerEnemyFactoryInitialized() => _sceneInit.DoProgress(); - public void PlatformerPlayerFactoryInitialized() - { - _sceneInit.DoProgress(); - } + public void PlatformerPlayerFactoryInitialized() => _sceneInit.DoProgress(); public void Dispose() { diff --git a/Assets/Code/Example/Platformer/PlatformerState.cs b/Assets/Code/Example/Platformer/PlatformerState.cs index a58b570..cca776b 100644 --- a/Assets/Code/Example/Platformer/PlatformerState.cs +++ b/Assets/Code/Example/Platformer/PlatformerState.cs @@ -19,43 +19,58 @@ namespace Code.Example.Platformer [StateRaisingEvent] public partial class PlatformerState : IOnPlatformerSceneLoadedHandler, + IOnPlatformer2SceneLoadedHandler, + IOnPlatformer3SceneLoadedHandler, ICinematicMachineHandle, IPlatformerEnemyLoadedHandle, IPlatformerPlayerLoadedHandle, - IPlatformerPlayerSpawnedHandle - { + IPlatformerPlayerSpawnedHandle, + IReadyToPlayHandle, + IPlayerReachedFinishHandle + { + private IPlatformerEnemyFactory _enemyFactory; + private IPlatformerPlayerFactory _playerFactory; + private PlatformerFirstLevelData _currentLevelData; + private Entity.Entity _playerEntity; + + private IAudioFactory _audioFactory; + + private Container _fixdamncontainer; + + private Loading _loading; + public PlatformerState(AppStateMachineContext context, EventBus eventBus) : base(context, eventBus) { } public override AppStates myState => AppStates.Platformer; + protected override void OnEnterState() { EventBus.Subscribe(this); - // Scene + // Dependency scene + // Level scene // Camera // Enemy snail // Enemy bee // Enemy boar // Player - _loading = new(6, LoadingCompleted); + // Music + _loading = new(8, InitialLoadingCompleted); Context.UIService.OpenPanel(UIPanelType.Loading); Context.SceneLoader.LoadSceneAsync(SceneId.Platformer, LoadSceneMode.Single).Forget(); Context.InputService.EnableMap(ActionMappings.Platformer); Context.CameraFactory.LoadCinemachineCamera(CameraMode.Platformer).Forget(); } - private Loading _loading; - - private void LoadingCompleted() + private void InitialLoadingCompleted() { - Context.AudioService.CancelMusic(AudioNames.UISounds,0); Context.UIService.ClosePanel(UIPanelType.Loading); - _enemyFactory.SpawnEnemy(PlatformerEntityType.Snail, _firstLevelData.enemySpawnPoints[0].position); + _enemyFactory.SpawnEnemy(PlatformerEntityType.Boar, _currentLevelData.enemySpawnPoints[0].position); - _playerFactory.SpawnPlayer(_firstLevelData.playerCheckPoints[0].position); + _playerFactory.SpawnPlayer(_currentLevelData.playerCheckPoints[0].position); } @@ -70,37 +85,10 @@ namespace Code.Example.Platformer Context.CameraFactory.ReleaseCinemachineCamera(CameraMode.Platformer); EventBus.Unsubscribe(this); Context.InputService.DisableMap(ActionMappings.Platformer); + + _audioFactory.ReleaseAudios(AudioNames.Platformer); } - public void OnPlatformerSceneLoaded() - { - - } - - private IPlatformerEnemyFactory _enemyFactory; - private IPlatformerPlayerFactory _playerFactory; - private PlatformerFirstLevelData _firstLevelData; - - private Container _fixdamncontainer; - - public void OnPlatformerSceneInitialized(Container container) - { - _fixdamncontainer = container; - _firstLevelData = container.Resolve(); - _enemyFactory = container.Resolve(); - - _enemyFactory.WarmEnemy(PlatformerEntityType.Bee); - _enemyFactory.WarmEnemy(PlatformerEntityType.Boar); - _enemyFactory.WarmEnemy(PlatformerEntityType.Snail); - - _playerFactory = container.Resolve(); - - _playerFactory.LoadPlayer(); - - _loading.DoProgress(); - } - - public void CinemachineLoaded(CinemachineCamera cinemachineCamera) { @@ -119,7 +107,90 @@ namespace Code.Example.Platformer public void PlatformerPlayerSpawned(Entity.Entity entity) { + _playerEntity = entity; + Context.CameraFactory.GetCinematicCamera(CameraMode.Platformer).Follow = entity.transform; } + + public void OnReadyToPlay(AudioNames groupName) + { + if(groupName == AudioNames.Platformer) _loading.DoProgress(); + } + + public void PlayerReachedFinish() + { + _loading = new(1, Level2LoadingCompleted); + Context.UIService.OpenPanel(UIPanelType.Loading); + + _playerEntity.Freeze(); + + SceneManager.MoveGameObjectToScene(_playerEntity.gameObject, Context.SceneLoader.GetScene(SceneId.Platformer)); + + Context.SceneLoader.UnloadSceneAsync(SceneId.Platformer2).Forget(); + Context.SceneLoader.LoadSceneAsync(SceneId.Platformer3, LoadSceneMode.Additive).Forget(); + } + + private void Level2LoadingCompleted() + { + Context.UIService.ClosePanel(UIPanelType.Loading); + + _enemyFactory.SpawnEnemy(PlatformerEntityType.Boar, _currentLevelData.enemySpawnPoints[0].position); + + _playerEntity.transform.position = _currentLevelData.playerCheckPoints[0].position; + _playerEntity.UnFreeze(); + } + + public void OnPlatformerSceneLoaded() + { + Context.SceneLoader.LoadSceneAsync(SceneId.Platformer2, LoadSceneMode.Additive).Forget(); + } + + + public void OnPlatformerSceneInitialized(Container container) + { + _fixdamncontainer = container; + + _audioFactory = container.Resolve(); + _audioFactory.LoadAudioClips(AudioNames.Platformer); + + _enemyFactory = container.Resolve(); + + _enemyFactory.WarmEnemy(PlatformerEntityType.Bee); + _enemyFactory.WarmEnemy(PlatformerEntityType.Boar); + _enemyFactory.WarmEnemy(PlatformerEntityType.Snail); + + _playerFactory = container.Resolve(); + + _playerFactory.WarmPlayer(); + + _loading.DoProgress(); + } + + public void OnPlatformer2SceneLoaded() + { + SceneManager.SetActiveScene(Context.SceneLoader.GetScene(SceneId.Platformer2)); + } + + public void OnPlatformer2SceneInitialized(Container container) + { + _currentLevelData = container.Resolve(); + _loading.DoProgress(); + } + + public void OnPlatformer3SceneLoaded() + { + } + + public void OnPlatformer3SceneInitialized(Container container) + { + _currentLevelData = container.Resolve(); + + _loading.DoProgress(); + } + } + + public interface IPlayerReachedFinishHandle : IGlobalSubscriber + { + void PlayerReachedFinish(); } } \ No newline at end of file diff --git a/Assets/Code/Infrastructure/App/States/BootstrapState.cs b/Assets/Code/Infrastructure/App/States/BootstrapState.cs index dc0de91..e5b0809 100644 --- a/Assets/Code/Infrastructure/App/States/BootstrapState.cs +++ b/Assets/Code/Infrastructure/App/States/BootstrapState.cs @@ -30,6 +30,7 @@ namespace Code.Infrastructure.App.States { // Context.AudioFactory.ReleaseAudios(AudioNames.UISounds); Context.UIService.TryRemovePanel(UIPanelType.DebugSceneChooser); + Context.AudioService.CancelMusic(AudioNames.UISounds,0); _eventBus.Unsubscribe(this); } diff --git a/Assets/Code/Infrastructure/App/States/MainMenuState.cs b/Assets/Code/Infrastructure/App/States/MainMenuState.cs index 72d5f23..e2d7cf6 100644 --- a/Assets/Code/Infrastructure/App/States/MainMenuState.cs +++ b/Assets/Code/Infrastructure/App/States/MainMenuState.cs @@ -36,6 +36,7 @@ namespace Code.Infrastructure.App.States { // Context.AudioFactory.ReleaseAudios(AudioNames.UISounds); Context.UIService.TryRemovePanel(UIPanelType.DebugSceneChooser); + Context.AudioService.CancelMusic(AudioNames.UISounds,0); EventBus.Unsubscribe(this); } diff --git a/Assets/Code/Infrastructure/Audio/AudioNames.cs b/Assets/Code/Infrastructure/Audio/AudioNames.cs index 96c3f70..3f57e81 100644 --- a/Assets/Code/Infrastructure/Audio/AudioNames.cs +++ b/Assets/Code/Infrastructure/Audio/AudioNames.cs @@ -3,6 +3,6 @@ namespace Code.Infrastructure.Audio public enum AudioNames { UISounds, - EnemySFX + Platformer } } \ No newline at end of file diff --git a/Assets/Code/Infrastructure/SceneLoader/SceneId.cs b/Assets/Code/Infrastructure/SceneLoader/SceneId.cs index 7f7d44f..4b0b797 100644 --- a/Assets/Code/Infrastructure/SceneLoader/SceneId.cs +++ b/Assets/Code/Infrastructure/SceneLoader/SceneId.cs @@ -8,6 +8,8 @@ namespace Code.Infrastructure.SceneLoader MainMenu, Gameplay, SoundTest, - Platformer + Platformer, + Platformer2, + Platformer3 } } \ No newline at end of file diff --git a/Assets/Platformer.mixer b/Assets/Platformer.mixer new file mode 100644 index 0000000..f5914b0 --- /dev/null +++ b/Assets/Platformer.mixer @@ -0,0 +1,218 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!243 &-4885867187619108525 +AudioMixerGroupController: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: Enemies + m_AudioMixer: {fileID: 24100000} + m_GroupID: 2737d6f5b12f94040babd85f247f3222 + m_Children: [] + m_Volume: 4ee68e51764b8634989c42213d634ae2 + m_Pitch: 0dca533d3dd14d44c90b58c4679f3cd4 + m_Send: 00000000000000000000000000000000 + m_Effects: + - {fileID: 6617966939821968642} + m_UserColorIndex: 0 + m_Mute: 0 + m_Solo: 0 + m_BypassEffects: 0 +--- !u!243 &-609011773278358017 +AudioMixerGroupController: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: SFX + m_AudioMixer: {fileID: 24100000} + m_GroupID: 427b0bc5b6d508d468596c610aa75f3d + m_Children: + - {fileID: 1253815002776095917} + - {fileID: -4885867187619108525} + m_Volume: 9bf27cc9ec201d74e87cc110fbc7e9bd + m_Pitch: 34349f555e0b4284a9adead0140ac43c + m_Send: 00000000000000000000000000000000 + m_Effects: + - {fileID: 3004468802842572259} + m_UserColorIndex: 0 + m_Mute: 0 + m_Solo: 0 + m_BypassEffects: 0 +--- !u!241 &24100000 +AudioMixerController: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: Platformer + m_OutputGroup: {fileID: 0} + m_MasterGroup: {fileID: 24300002} + m_Snapshots: + - {fileID: 24500006} + m_StartSnapshot: {fileID: 24500006} + m_SuspendThreshold: -80 + m_EnableSuspend: 1 + m_UpdateMode: 0 + m_ExposedParameters: + - guid: 4ee68e51764b8634989c42213d634ae2 + name: Enemies + - guid: 5d685056c555bc447bc0c777de745131 + name: Master + - guid: db26c3e7dd1b4b7438224654f27219b0 + name: Music + - guid: c63ce320545376244876a86528397264 + name: Player + - guid: 9bf27cc9ec201d74e87cc110fbc7e9bd + name: SFX + m_AudioMixerGroupViews: + - guids: + - ed911f6795b8e2a4ea8f086f6bfaa1ef + - 427b0bc5b6d508d468596c610aa75f3d + - 0fac0087e15185941996f24d44ccda00 + - 02d74d5e56719ea4f8122e6eb42732d8 + - 2737d6f5b12f94040babd85f247f3222 + name: View + m_CurrentViewIndex: 0 + m_TargetSnapshot: {fileID: 24500006} +--- !u!243 &24300002 +AudioMixerGroupController: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: Master + m_AudioMixer: {fileID: 24100000} + m_GroupID: ed911f6795b8e2a4ea8f086f6bfaa1ef + m_Children: + - {fileID: 1898730652868345154} + - {fileID: -609011773278358017} + m_Volume: 5d685056c555bc447bc0c777de745131 + m_Pitch: 03b815b5efca35b42afad2645451e29e + m_Send: 00000000000000000000000000000000 + m_Effects: + - {fileID: 24400004} + m_UserColorIndex: 0 + m_Mute: 0 + m_Solo: 0 + m_BypassEffects: 0 +--- !u!244 &24400004 +AudioMixerEffectController: + m_ObjectHideFlags: 3 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: + m_EffectID: b312fd15196355744bf5f37e6efc8c15 + m_EffectName: Attenuation + m_MixLevel: dc9d62e0a4702f24a8fba062511a34fe + m_Parameters: [] + m_SendTarget: {fileID: 0} + m_EnableWetMix: 0 + m_Bypass: 0 +--- !u!245 &24500006 +AudioMixerSnapshotController: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: Snapshot + m_AudioMixer: {fileID: 24100000} + m_SnapshotID: 1f27f34254146ef439967d1c5a5ea278 + m_FloatValues: {} + m_TransitionOverrides: {} +--- !u!243 &1253815002776095917 +AudioMixerGroupController: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: Player + m_AudioMixer: {fileID: 24100000} + m_GroupID: 02d74d5e56719ea4f8122e6eb42732d8 + m_Children: [] + m_Volume: c63ce320545376244876a86528397264 + m_Pitch: a7b3b43bfd8f34f43831e48f5d87a790 + m_Send: 00000000000000000000000000000000 + m_Effects: + - {fileID: 2298478056328136299} + m_UserColorIndex: 0 + m_Mute: 0 + m_Solo: 0 + m_BypassEffects: 0 +--- !u!243 &1898730652868345154 +AudioMixerGroupController: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: Music + m_AudioMixer: {fileID: 24100000} + m_GroupID: 0fac0087e15185941996f24d44ccda00 + m_Children: [] + m_Volume: db26c3e7dd1b4b7438224654f27219b0 + m_Pitch: 9a33428290c158045b36b1e8497952cb + m_Send: 00000000000000000000000000000000 + m_Effects: + - {fileID: 3865688004085144149} + m_UserColorIndex: 0 + m_Mute: 0 + m_Solo: 0 + m_BypassEffects: 0 +--- !u!244 &2298478056328136299 +AudioMixerEffectController: + m_ObjectHideFlags: 3 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: + m_EffectID: b9fc91cd2bc38c7459bac9ce7a2d50a1 + m_EffectName: Attenuation + m_MixLevel: 6c42c088b1b37954787a44c94565f988 + m_Parameters: [] + m_SendTarget: {fileID: 0} + m_EnableWetMix: 0 + m_Bypass: 0 +--- !u!244 &3004468802842572259 +AudioMixerEffectController: + m_ObjectHideFlags: 3 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: + m_EffectID: 66ee272b16cd093428e3c0ab0f3eca62 + m_EffectName: Attenuation + m_MixLevel: 83d2952aeb0ce6e44ba516eb939b081e + m_Parameters: [] + m_SendTarget: {fileID: 0} + m_EnableWetMix: 0 + m_Bypass: 0 +--- !u!244 &3865688004085144149 +AudioMixerEffectController: + m_ObjectHideFlags: 3 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: + m_EffectID: b9f3f755d4afab94abe46863f353b6fc + m_EffectName: Attenuation + m_MixLevel: 7a84913570a4ffd43b0a7a56f4be5409 + m_Parameters: [] + m_SendTarget: {fileID: 0} + m_EnableWetMix: 0 + m_Bypass: 0 +--- !u!244 &6617966939821968642 +AudioMixerEffectController: + m_ObjectHideFlags: 3 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: + m_EffectID: 8129d912cecf4cd4ebffeb7e78d82ab3 + m_EffectName: Attenuation + m_MixLevel: 0b64308abd7b0a746b4ae5fcdbd151cd + m_Parameters: [] + m_SendTarget: {fileID: 0} + m_EnableWetMix: 0 + m_Bypass: 0 diff --git a/Assets/Platformer.mixer.meta b/Assets/Platformer.mixer.meta new file mode 100644 index 0000000..ae69365 --- /dev/null +++ b/Assets/Platformer.mixer.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: ae54a5f5e83d3d448a551d88338e6811 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 24100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Resources/Audio/MainMixer.mixer b/Assets/Resources/Audio/MainMixer.mixer new file mode 100644 index 0000000..81294f0 --- /dev/null +++ b/Assets/Resources/Audio/MainMixer.mixer @@ -0,0 +1,144 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!244 &-6895071745998429523 +AudioMixerEffectController: + m_ObjectHideFlags: 3 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: + m_EffectID: 5bc7fb80639fa7c4d82b413f389f35a4 + m_EffectName: Attenuation + m_MixLevel: 0e62cf48347d0b84093b054dacdb20d0 + m_Parameters: [] + m_SendTarget: {fileID: 0} + m_EnableWetMix: 0 + m_Bypass: 0 +--- !u!243 &-6390533329811558162 +AudioMixerGroupController: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: SFX + m_AudioMixer: {fileID: 24100000} + m_GroupID: 96e1e4002c892b3479987bdf7f9f3bd2 + m_Children: [] + m_Volume: a52ad94d3f570a748b3832a440618943 + m_Pitch: 6337fc594d3708b4bb80b400d22f0604 + m_Send: 00000000000000000000000000000000 + m_Effects: + - {fileID: -1875565258025301087} + m_UserColorIndex: 0 + m_Mute: 0 + m_Solo: 0 + m_BypassEffects: 0 +--- !u!244 &-1875565258025301087 +AudioMixerEffectController: + m_ObjectHideFlags: 3 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: + m_EffectID: 01300034c9e4d1e459e87c0f02784f20 + m_EffectName: Attenuation + m_MixLevel: edc81c39a3d8aed439158a1f4f4174fa + m_Parameters: [] + m_SendTarget: {fileID: 0} + m_EnableWetMix: 0 + m_Bypass: 0 +--- !u!243 &-809212676226627377 +AudioMixerGroupController: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: Music + m_AudioMixer: {fileID: 24100000} + m_GroupID: d2b92001bc3425e4383166868ad51a30 + m_Children: [] + m_Volume: 18f0cfbd05b07a44c82546ab713fac1d + m_Pitch: 09c0a00ee71f38d4bb053bfd3508677c + m_Send: 00000000000000000000000000000000 + m_Effects: + - {fileID: -6895071745998429523} + m_UserColorIndex: 0 + m_Mute: 0 + m_Solo: 0 + m_BypassEffects: 0 +--- !u!241 &24100000 +AudioMixerController: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: MainMixer + m_OutputGroup: {fileID: 0} + m_MasterGroup: {fileID: 24300002} + m_Snapshots: + - {fileID: 24500006} + m_StartSnapshot: {fileID: 24500006} + m_SuspendThreshold: -80 + m_EnableSuspend: 1 + m_UpdateMode: 0 + m_ExposedParameters: + - guid: a9c562da7fa337e48a030c372ca8d508 + name: Master + - guid: 18f0cfbd05b07a44c82546ab713fac1d + name: Music + - guid: a52ad94d3f570a748b3832a440618943 + name: SFX + m_AudioMixerGroupViews: + - guids: + - d1c896df027b32049855870fa99dd50a + - 96e1e4002c892b3479987bdf7f9f3bd2 + - d2b92001bc3425e4383166868ad51a30 + name: View + m_CurrentViewIndex: 0 + m_TargetSnapshot: {fileID: 24500006} +--- !u!243 &24300002 +AudioMixerGroupController: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: Master + m_AudioMixer: {fileID: 24100000} + m_GroupID: d1c896df027b32049855870fa99dd50a + m_Children: + - {fileID: -6390533329811558162} + - {fileID: -809212676226627377} + m_Volume: a9c562da7fa337e48a030c372ca8d508 + m_Pitch: f43de360fa9e633489bdb52d2ae24ccc + m_Send: 00000000000000000000000000000000 + m_Effects: + - {fileID: 24400004} + m_UserColorIndex: 0 + m_Mute: 0 + m_Solo: 0 + m_BypassEffects: 0 +--- !u!244 &24400004 +AudioMixerEffectController: + m_ObjectHideFlags: 3 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: + m_EffectID: cd6cc43489089084dab23e54cdd538a9 + m_EffectName: Attenuation + m_MixLevel: a8348b6e7ff6620468bb3ef0d37727fd + m_Parameters: [] + m_SendTarget: {fileID: 0} + m_EnableWetMix: 0 + m_Bypass: 0 +--- !u!245 &24500006 +AudioMixerSnapshotController: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: Snapshot + m_AudioMixer: {fileID: 24100000} + m_SnapshotID: e50ade30777353e4c88cef48f660869e + m_FloatValues: {} + m_TransitionOverrides: {} diff --git a/Assets/Resources/Audio/MainMixer.mixer.meta b/Assets/Resources/Audio/MainMixer.mixer.meta new file mode 100644 index 0000000..3bb65c9 --- /dev/null +++ b/Assets/Resources/Audio/MainMixer.mixer.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: c64b0b8c066584d4b92a2adde2258a00 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 24100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Resources/Example/Platformer/Audio.meta b/Assets/Resources/Example/Platformer/Audio.meta new file mode 100644 index 0000000..071b219 --- /dev/null +++ b/Assets/Resources/Example/Platformer/Audio.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: ce775c71ef8470b47a71b1b52b27e03e +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Resources/Example/Platformer/Characters/Enemies/Boar/Boar.controller b/Assets/Resources/Example/Platformer/Characters/Enemies/Boar/Boar.controller index f933df3..0799088 100644 --- a/Assets/Resources/Example/Platformer/Characters/Enemies/Boar/Boar.controller +++ b/Assets/Resources/Example/Platformer/Characters/Enemies/Boar/Boar.controller @@ -153,7 +153,7 @@ AnimatorStateTransition: m_Name: m_Conditions: - m_ConditionMode: 1 - m_ConditionEvent: Died + m_ConditionEvent: OnDeath m_EventTreshold: 0 m_DstStateMachine: {fileID: 0} m_DstState: {fileID: -1740313358145768062} @@ -359,7 +359,13 @@ AnimatorController: m_DefaultBool: 0 m_Controller: {fileID: 9100000} - m_Name: OnHit - m_Type: 4 + m_Type: 9 + m_DefaultFloat: 0 + m_DefaultInt: 0 + m_DefaultBool: 0 + m_Controller: {fileID: 9100000} + - m_Name: OnDeath + m_Type: 9 m_DefaultFloat: 0 m_DefaultInt: 0 m_DefaultBool: 0 diff --git a/Assets/Resources/Example/Platformer/Characters/Player/PlayerPlatformer.controller b/Assets/Resources/Example/Platformer/Characters/Player/PlayerPlatformer.controller index efbbf01..36f9ac0 100644 --- a/Assets/Resources/Example/Platformer/Characters/Player/PlayerPlatformer.controller +++ b/Assets/Resources/Example/Platformer/Characters/Player/PlayerPlatformer.controller @@ -72,28 +72,6 @@ AnimatorStateTransition: m_InterruptionSource: 0 m_OrderedInterruption: 1 m_CanTransitionToSelf: 1 ---- !u!1101 &-4011467503276631096 -AnimatorStateTransition: - m_ObjectHideFlags: 1 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_Name: - m_Conditions: [] - m_DstStateMachine: {fileID: 0} - m_DstState: {fileID: 0} - m_Solo: 0 - m_Mute: 0 - m_IsExit: 1 - serializedVersion: 3 - m_TransitionDuration: 0 - m_TransitionOffset: 0 - m_ExitTime: 0.99 - m_HasExitTime: 1 - m_HasFixedDuration: 0 - m_InterruptionSource: 0 - m_OrderedInterruption: 1 - m_CanTransitionToSelf: 1 --- !u!1101 &-3774934911269671992 AnimatorStateTransition: m_ObjectHideFlags: 1 @@ -129,8 +107,7 @@ AnimatorState: m_Name: DeathPlaPla m_Speed: 1 m_CycleOffset: 0 - m_Transitions: - - {fileID: -4011467503276631096} + m_Transitions: [] m_StateMachineBehaviours: [] m_Position: {x: 50, y: 50, z: 0} m_IKOnFeet: 0 @@ -179,6 +156,9 @@ AnimatorStateTransition: - m_ConditionMode: 1 m_ConditionEvent: OnAttack m_EventTreshold: 0 + - m_ConditionMode: 2 + m_ConditionEvent: Died + m_EventTreshold: 0 m_DstStateMachine: {fileID: 0} m_DstState: {fileID: 829475626526463519} m_Solo: 0 @@ -259,6 +239,18 @@ AnimatorController: m_DefaultInt: 0 m_DefaultBool: 0 m_Controller: {fileID: 9100000} + - m_Name: OnHit + m_Type: 9 + m_DefaultFloat: 0 + m_DefaultInt: 0 + m_DefaultBool: 0 + m_Controller: {fileID: 9100000} + - m_Name: OnDeath + m_Type: 9 + m_DefaultFloat: 0 + m_DefaultInt: 0 + m_DefaultBool: 0 + m_Controller: {fileID: 9100000} m_AnimatorLayers: - serializedVersion: 5 m_Name: Base Layer @@ -359,7 +351,7 @@ AnimatorStateMachine: m_Position: {x: 0, y: 130, z: 0} - serializedVersion: 1 m_State: {fileID: 8471142761322558658} - m_Position: {x: 35, y: 195, z: 0} + m_Position: {x: 240, y: 400, z: 0} m_ChildStateMachines: [] m_AnyStateTransitions: - {fileID: -7917712816693892095} diff --git a/Assets/Resources_moved/Example/Platformer/Audio.meta b/Assets/Resources_moved/Example/Platformer/Audio.meta new file mode 100644 index 0000000..1029002 --- /dev/null +++ b/Assets/Resources_moved/Example/Platformer/Audio.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 5528e8fa482f69f469f1fed145dec7cb +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Resources_moved/Example/Platformer/Audio/COMPUTER_DIGITAL_L2076605.wav b/Assets/Resources_moved/Example/Platformer/Audio/COMPUTER_DIGITAL_L2076605.wav new file mode 100644 index 0000000..907a5c1 --- /dev/null +++ b/Assets/Resources_moved/Example/Platformer/Audio/COMPUTER_DIGITAL_L2076605.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e7cb23769dee8bcd2f3ed1785b267df025eb5c7a20941d9fa704ecbb8fceb1ea +size 26820 diff --git a/Assets/Resources_moved/Example/Platformer/Audio/COMPUTER_DIGITAL_L2076605.wav.meta b/Assets/Resources_moved/Example/Platformer/Audio/COMPUTER_DIGITAL_L2076605.wav.meta new file mode 100644 index 0000000..2f615e8 --- /dev/null +++ b/Assets/Resources_moved/Example/Platformer/Audio/COMPUTER_DIGITAL_L2076605.wav.meta @@ -0,0 +1,23 @@ +fileFormatVersion: 2 +guid: c98ca8f1bfb12944db084a76779f68f0 +AudioImporter: + externalObjects: {} + serializedVersion: 8 + defaultSettings: + serializedVersion: 2 + loadType: 0 + sampleRateSetting: 0 + sampleRateOverride: 44100 + compressionFormat: 1 + quality: 1 + conversionMode: 0 + preloadAudioData: 0 + platformSettingOverrides: {} + forceToMono: 0 + normalize: 1 + loadInBackground: 0 + ambisonic: 0 + 3D: 1 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Resources_moved/Example/Platformer/Audio/With_S2.wav b/Assets/Resources_moved/Example/Platformer/Audio/With_S2.wav new file mode 100644 index 0000000..8607352 --- /dev/null +++ b/Assets/Resources_moved/Example/Platformer/Audio/With_S2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a3eb00db123201b668f5605c50008afbe540881cb7caa08b6fa05d6e52468cba +size 537534 diff --git a/Assets/Resources_moved/Example/Platformer/Audio/With_S2.wav.meta b/Assets/Resources_moved/Example/Platformer/Audio/With_S2.wav.meta new file mode 100644 index 0000000..044a143 --- /dev/null +++ b/Assets/Resources_moved/Example/Platformer/Audio/With_S2.wav.meta @@ -0,0 +1,23 @@ +fileFormatVersion: 2 +guid: 2f48f0019cce4a047bb5878796f90316 +AudioImporter: + externalObjects: {} + serializedVersion: 8 + defaultSettings: + serializedVersion: 2 + loadType: 0 + sampleRateSetting: 0 + sampleRateOverride: 44100 + compressionFormat: 1 + quality: 1 + conversionMode: 0 + preloadAudioData: 0 + platformSettingOverrides: {} + forceToMono: 0 + normalize: 1 + loadInBackground: 0 + ambisonic: 0 + 3D: 1 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Resources_moved/Example/Platformer/Audio/crush.wav b/Assets/Resources_moved/Example/Platformer/Audio/crush.wav new file mode 100644 index 0000000..6499ba7 --- /dev/null +++ b/Assets/Resources_moved/Example/Platformer/Audio/crush.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:88db972e4ebe2e9e73d023bc404f110e504e47f37cfba156bbe5e0cf44014b0e +size 246736 diff --git a/Assets/Resources_moved/Example/Platformer/Audio/crush.wav.meta b/Assets/Resources_moved/Example/Platformer/Audio/crush.wav.meta new file mode 100644 index 0000000..2aed4e9 --- /dev/null +++ b/Assets/Resources_moved/Example/Platformer/Audio/crush.wav.meta @@ -0,0 +1,23 @@ +fileFormatVersion: 2 +guid: 22d559d7081d98649a627ca74e5e26d3 +AudioImporter: + externalObjects: {} + serializedVersion: 8 + defaultSettings: + serializedVersion: 2 + loadType: 0 + sampleRateSetting: 0 + sampleRateOverride: 44100 + compressionFormat: 1 + quality: 1 + conversionMode: 0 + preloadAudioData: 0 + platformSettingOverrides: {} + forceToMono: 0 + normalize: 1 + loadInBackground: 0 + ambisonic: 0 + 3D: 1 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Resources_moved/Example/Platformer/Audio/deepbreaths.wav b/Assets/Resources_moved/Example/Platformer/Audio/deepbreaths.wav new file mode 100644 index 0000000..3440970 --- /dev/null +++ b/Assets/Resources_moved/Example/Platformer/Audio/deepbreaths.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9b5322d57ba09499ed6b8841f4cff6c92082286380e39e6c50aa84e53773dfec +size 923168 diff --git a/Assets/Resources_moved/Example/Platformer/Audio/deepbreaths.wav.meta b/Assets/Resources_moved/Example/Platformer/Audio/deepbreaths.wav.meta new file mode 100644 index 0000000..8679194 --- /dev/null +++ b/Assets/Resources_moved/Example/Platformer/Audio/deepbreaths.wav.meta @@ -0,0 +1,23 @@ +fileFormatVersion: 2 +guid: ed92a969702a16c4e812b41bbb8ec1b9 +AudioImporter: + externalObjects: {} + serializedVersion: 8 + defaultSettings: + serializedVersion: 2 + loadType: 0 + sampleRateSetting: 0 + sampleRateOverride: 44100 + compressionFormat: 1 + quality: 1 + conversionMode: 0 + preloadAudioData: 0 + platformSettingOverrides: {} + forceToMono: 0 + normalize: 1 + loadInBackground: 0 + ambisonic: 0 + 3D: 1 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Resources_moved/Example/Platformer/Audio/get.wav b/Assets/Resources_moved/Example/Platformer/Audio/get.wav new file mode 100644 index 0000000..dc250bb --- /dev/null +++ b/Assets/Resources_moved/Example/Platformer/Audio/get.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:72b6fd414e398a11c1323a1c39eb6210ac2902b52ec511bec098bae190b52a86 +size 4110 diff --git a/Assets/Resources_moved/Example/Platformer/Audio/get.wav.meta b/Assets/Resources_moved/Example/Platformer/Audio/get.wav.meta new file mode 100644 index 0000000..ef33153 --- /dev/null +++ b/Assets/Resources_moved/Example/Platformer/Audio/get.wav.meta @@ -0,0 +1,23 @@ +fileFormatVersion: 2 +guid: ee1bcba8581e635469885eb08401a519 +AudioImporter: + externalObjects: {} + serializedVersion: 8 + defaultSettings: + serializedVersion: 2 + loadType: 0 + sampleRateSetting: 0 + sampleRateOverride: 44100 + compressionFormat: 1 + quality: 1 + conversionMode: 0 + preloadAudioData: 0 + platformSettingOverrides: {} + forceToMono: 0 + normalize: 1 + loadInBackground: 0 + ambisonic: 0 + 3D: 1 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Resources_moved/Example/Platformer/Audio/get2.wav b/Assets/Resources_moved/Example/Platformer/Audio/get2.wav new file mode 100644 index 0000000..f84fc40 --- /dev/null +++ b/Assets/Resources_moved/Example/Platformer/Audio/get2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:18d3ef13db8dc9a60793b855d0de21102ba398fb038467fae27c2d0586cfa8ab +size 18930 diff --git a/Assets/Resources_moved/Example/Platformer/Audio/get2.wav.meta b/Assets/Resources_moved/Example/Platformer/Audio/get2.wav.meta new file mode 100644 index 0000000..248550c --- /dev/null +++ b/Assets/Resources_moved/Example/Platformer/Audio/get2.wav.meta @@ -0,0 +1,23 @@ +fileFormatVersion: 2 +guid: 20b79feef28c6924f99d43b2d66b79ac +AudioImporter: + externalObjects: {} + serializedVersion: 8 + defaultSettings: + serializedVersion: 2 + loadType: 0 + sampleRateSetting: 0 + sampleRateOverride: 44100 + compressionFormat: 1 + quality: 1 + conversionMode: 0 + preloadAudioData: 0 + platformSettingOverrides: {} + forceToMono: 0 + normalize: 1 + loadInBackground: 0 + ambisonic: 0 + 3D: 1 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Resources_moved/Example/Platformer/Audio/insuit.wav b/Assets/Resources_moved/Example/Platformer/Audio/insuit.wav new file mode 100644 index 0000000..1967491 --- /dev/null +++ b/Assets/Resources_moved/Example/Platformer/Audio/insuit.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c8b18388b200112d446dd17cd001b0d404d0f9f3085139af49246e5a59f963fa +size 12240 diff --git a/Assets/Resources_moved/Example/Platformer/Audio/insuit.wav.meta b/Assets/Resources_moved/Example/Platformer/Audio/insuit.wav.meta new file mode 100644 index 0000000..df88716 --- /dev/null +++ b/Assets/Resources_moved/Example/Platformer/Audio/insuit.wav.meta @@ -0,0 +1,23 @@ +fileFormatVersion: 2 +guid: 79892e8ea650c864fa8eb1184556cb42 +AudioImporter: + externalObjects: {} + serializedVersion: 8 + defaultSettings: + serializedVersion: 2 + loadType: 0 + sampleRateSetting: 0 + sampleRateOverride: 44100 + compressionFormat: 1 + quality: 1 + conversionMode: 0 + preloadAudioData: 0 + platformSettingOverrides: {} + forceToMono: 0 + normalize: 1 + loadInBackground: 0 + ambisonic: 0 + 3D: 1 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Resources_moved/Example/Platformer/Audio/jump2.wav b/Assets/Resources_moved/Example/Platformer/Audio/jump2.wav new file mode 100644 index 0000000..b3df9f5 --- /dev/null +++ b/Assets/Resources_moved/Example/Platformer/Audio/jump2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e5020ecf65a7d49135a39a3eee7b5752bde58c362b8a48e530b93ef0db4fa7ef +size 22524 diff --git a/Assets/Resources_moved/Example/Platformer/Audio/jump2.wav.meta b/Assets/Resources_moved/Example/Platformer/Audio/jump2.wav.meta new file mode 100644 index 0000000..643bdab --- /dev/null +++ b/Assets/Resources_moved/Example/Platformer/Audio/jump2.wav.meta @@ -0,0 +1,23 @@ +fileFormatVersion: 2 +guid: 8d4c5cacc797c0e45ae5f7f467619e98 +AudioImporter: + externalObjects: {} + serializedVersion: 8 + defaultSettings: + serializedVersion: 2 + loadType: 0 + sampleRateSetting: 0 + sampleRateOverride: 44100 + compressionFormat: 1 + quality: 1 + conversionMode: 0 + preloadAudioData: 0 + platformSettingOverrides: {} + forceToMono: 0 + normalize: 1 + loadInBackground: 0 + ambisonic: 0 + 3D: 1 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Resources_moved/Example/Platformer/Audio/laugh.wav b/Assets/Resources_moved/Example/Platformer/Audio/laugh.wav new file mode 100644 index 0000000..45a0c8e --- /dev/null +++ b/Assets/Resources_moved/Example/Platformer/Audio/laugh.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:85b5f6c3c006577e35ce7fa1269fc168a3e8ea61bc894011ab666c224fd86a46 +size 4334 diff --git a/Assets/Resources_moved/Example/Platformer/Audio/laugh.wav.meta b/Assets/Resources_moved/Example/Platformer/Audio/laugh.wav.meta new file mode 100644 index 0000000..c2d69b9 --- /dev/null +++ b/Assets/Resources_moved/Example/Platformer/Audio/laugh.wav.meta @@ -0,0 +1,23 @@ +fileFormatVersion: 2 +guid: 9fa1fde1ddb533d4b8f4a758cc83a696 +AudioImporter: + externalObjects: {} + serializedVersion: 8 + defaultSettings: + serializedVersion: 2 + loadType: 0 + sampleRateSetting: 0 + sampleRateOverride: 44100 + compressionFormat: 1 + quality: 1 + conversionMode: 0 + preloadAudioData: 0 + platformSettingOverrides: {} + forceToMono: 0 + normalize: 1 + loadInBackground: 0 + ambisonic: 0 + 3D: 1 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Resources_moved/Example/Platformer/Audio/stare.wav b/Assets/Resources_moved/Example/Platformer/Audio/stare.wav new file mode 100644 index 0000000..cf1e3c4 --- /dev/null +++ b/Assets/Resources_moved/Example/Platformer/Audio/stare.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6e6c9c2b980a48b68936ea20d9237dd49d1e2a6e6bc048bca769c8e22a3d54b4 +size 3255446 diff --git a/Assets/Resources_moved/Example/Platformer/Audio/stare.wav.meta b/Assets/Resources_moved/Example/Platformer/Audio/stare.wav.meta new file mode 100644 index 0000000..3aaf314 --- /dev/null +++ b/Assets/Resources_moved/Example/Platformer/Audio/stare.wav.meta @@ -0,0 +1,23 @@ +fileFormatVersion: 2 +guid: 4b5011c8b31164d418f96afe213172ce +AudioImporter: + externalObjects: {} + serializedVersion: 8 + defaultSettings: + serializedVersion: 2 + loadType: 0 + sampleRateSetting: 0 + sampleRateOverride: 44100 + compressionFormat: 1 + quality: 1 + conversionMode: 0 + preloadAudioData: 0 + platformSettingOverrides: {} + forceToMono: 0 + normalize: 1 + loadInBackground: 0 + ambisonic: 0 + 3D: 1 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Resources_moved/Example/Platformer/Audio/static2.wav b/Assets/Resources_moved/Example/Platformer/Audio/static2.wav new file mode 100644 index 0000000..955b866 --- /dev/null +++ b/Assets/Resources_moved/Example/Platformer/Audio/static2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:688a77d35734485e8bdfa02186c043c4fe4963a1aa7fc9d93cd3d9e71c1af238 +size 1483738 diff --git a/Assets/Resources_moved/Example/Platformer/Audio/static2.wav.meta b/Assets/Resources_moved/Example/Platformer/Audio/static2.wav.meta new file mode 100644 index 0000000..d21ece2 --- /dev/null +++ b/Assets/Resources_moved/Example/Platformer/Audio/static2.wav.meta @@ -0,0 +1,23 @@ +fileFormatVersion: 2 +guid: f5e32ea95f06f484daca2ff3a1f1a3d8 +AudioImporter: + externalObjects: {} + serializedVersion: 8 + defaultSettings: + serializedVersion: 2 + loadType: 0 + sampleRateSetting: 0 + sampleRateOverride: 44100 + compressionFormat: 1 + quality: 1 + conversionMode: 0 + preloadAudioData: 0 + platformSettingOverrides: {} + forceToMono: 0 + normalize: 1 + loadInBackground: 0 + ambisonic: 0 + 3D: 1 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Resources_moved/Example/Platformer/Audio/staticend2.wav b/Assets/Resources_moved/Example/Platformer/Audio/staticend2.wav new file mode 100644 index 0000000..2ea298a --- /dev/null +++ b/Assets/Resources_moved/Example/Platformer/Audio/staticend2.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f294508fb11962240054aad2b7cb2f0e119b900159d32eba85be0cb4bc6a7401 +size 215134 diff --git a/Assets/Resources_moved/Example/Platformer/Audio/staticend2.wav.meta b/Assets/Resources_moved/Example/Platformer/Audio/staticend2.wav.meta new file mode 100644 index 0000000..1585fb5 --- /dev/null +++ b/Assets/Resources_moved/Example/Platformer/Audio/staticend2.wav.meta @@ -0,0 +1,23 @@ +fileFormatVersion: 2 +guid: 6a787ed54bab3244cacb4a73ebe09691 +AudioImporter: + externalObjects: {} + serializedVersion: 8 + defaultSettings: + serializedVersion: 2 + loadType: 0 + sampleRateSetting: 0 + sampleRateOverride: 44100 + compressionFormat: 1 + quality: 1 + conversionMode: 0 + preloadAudioData: 0 + platformSettingOverrides: {} + forceToMono: 0 + normalize: 1 + loadInBackground: 0 + ambisonic: 0 + 3D: 1 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Resources_moved/Example/Platformer/Characters/Enemies/Bee.prefab b/Assets/Resources_moved/Example/Platformer/Characters/Enemies/Bee.prefab index 4a8eb7a..b420af9 100644 --- a/Assets/Resources_moved/Example/Platformer/Characters/Enemies/Bee.prefab +++ b/Assets/Resources_moved/Example/Platformer/Characters/Enemies/Bee.prefab @@ -134,6 +134,7 @@ GameObject: - component: {fileID: 8927136534498308671} - component: {fileID: 5680405559112544362} - component: {fileID: 8386846360287835849} + - component: {fileID: 1560487804200995716} m_Layer: 11 m_Name: Bee m_TagString: Untagged @@ -332,3 +333,15 @@ MonoBehaviour: - {fileID: 0} onPatrol: 1 _currentTarget: {fileID: 0} +--- !u!114 &1560487804200995716 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3801642601722797476} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: a3078030faef42b5bddd46a7c5c91d95, type: 3} + m_Name: + m_EditorClassIdentifier: Assembly-CSharp::Code.Example.Platformer.Entity.EntityHealth diff --git a/Assets/Resources_moved/Example/Platformer/Characters/Enemies/Boar.prefab b/Assets/Resources_moved/Example/Platformer/Characters/Enemies/Boar.prefab index bf35035..356122b 100644 --- a/Assets/Resources_moved/Example/Platformer/Characters/Enemies/Boar.prefab +++ b/Assets/Resources_moved/Example/Platformer/Characters/Enemies/Boar.prefab @@ -106,6 +106,7 @@ GameObject: - component: {fileID: 8711850399479606103} - component: {fileID: -3155582984912602300} - component: {fileID: 5713908768014139622} + - component: {fileID: 5551016776031448859} m_Layer: 11 m_Name: Boar m_TagString: Untagged @@ -299,6 +300,18 @@ MonoBehaviour: animator: {fileID: -3155582984912602300} spriteRenderer: {fileID: 7973072655843182893} groundPoint: {x: 0, y: -0.4} - groundPointadsdassd: 12312 groundLeft: {x: -0.3, y: -0.4} groundRight: {x: 0.3, y: -0.4} + health: {fileID: 5551016776031448859} +--- !u!114 &5551016776031448859 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3564754929267664154} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: a3078030faef42b5bddd46a7c5c91d95, type: 3} + m_Name: + m_EditorClassIdentifier: Assembly-CSharp::Code.Example.Platformer.Entity.EntityHealth diff --git a/Assets/Resources_moved/Example/Platformer/Characters/Enemies/Snail.prefab b/Assets/Resources_moved/Example/Platformer/Characters/Enemies/Snail.prefab index c9a4f46..2cb6cf1 100644 --- a/Assets/Resources_moved/Example/Platformer/Characters/Enemies/Snail.prefab +++ b/Assets/Resources_moved/Example/Platformer/Characters/Enemies/Snail.prefab @@ -14,6 +14,7 @@ GameObject: - component: {fileID: 6897803134956731688} - component: {fileID: 958628273609526838} - component: {fileID: 3604994681784900202} + - component: {fileID: 6540176975630265631} m_Layer: 11 m_Name: Snail m_TagString: Untagged @@ -209,3 +210,15 @@ MonoBehaviour: groundLeft: {x: -0.3, y: -0.2} groundRight: {x: 0.3, y: -0.2} _directionRight: 1 +--- !u!114 &6540176975630265631 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2523079170963062473} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: a3078030faef42b5bddd46a7c5c91d95, type: 3} + m_Name: + m_EditorClassIdentifier: Assembly-CSharp::Code.Example.Platformer.Entity.EntityHealth diff --git a/Assets/Resources_moved/Example/Platformer/Characters/Player/Player.prefab b/Assets/Resources_moved/Example/Platformer/Characters/Player/Player.prefab index 174cca0..755d1b8 100644 --- a/Assets/Resources_moved/Example/Platformer/Characters/Player/Player.prefab +++ b/Assets/Resources_moved/Example/Platformer/Characters/Player/Player.prefab @@ -14,9 +14,10 @@ GameObject: - component: {fileID: 6786408946074889384} - component: {fileID: 7285218563850982413} - component: {fileID: 5637894485084274858} + - component: {fileID: 661025390364872690} m_Layer: 10 m_Name: Player - m_TagString: Untagged + m_TagString: Player m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 @@ -111,6 +112,8 @@ MonoBehaviour: animator: {fileID: 7285218563850982413} spriteRenderer: {fileID: 6589437842077349179} groundPoint: {x: 0, y: -0.32} + attackOffset: {x: 0, y: 0} + health: {fileID: 661025390364872690} --- !u!50 &6786408946074889384 Rigidbody2D: serializedVersion: 5 @@ -206,3 +209,15 @@ BoxCollider2D: m_AutoTiling: 0 m_Size: {x: 0.32, y: 0.5} m_EdgeRadius: 0 +--- !u!114 &661025390364872690 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 454703662689100337} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: a3078030faef42b5bddd46a7c5c91d95, type: 3} + m_Name: + m_EditorClassIdentifier: Assembly-CSharp::Code.Example.Platformer.Entity.EntityHealth diff --git a/Assets/Resources_moved/Example/Platformer/Configs/Audio.meta b/Assets/Resources_moved/Example/Platformer/Configs/Audio.meta new file mode 100644 index 0000000..57b1bce --- /dev/null +++ b/Assets/Resources_moved/Example/Platformer/Configs/Audio.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 15570847961972e4a9a82efa93457c66 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Resources_moved/Example/Platformer/Configs/Audio/Death.asset b/Assets/Resources_moved/Example/Platformer/Configs/Audio/Death.asset new file mode 100644 index 0000000..b94f1ee --- /dev/null +++ b/Assets/Resources_moved/Example/Platformer/Configs/Audio/Death.asset @@ -0,0 +1,22 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: a8b089dd854c0a084ba749d31f8b399f, type: 3} + m_Name: Death + m_EditorClassIdentifier: Assembly-CSharp::Code.Infrastructure.Audio.AudioInfoConfig + GroupName: 1 + id: 3 + fileReference: + m_AssetGUID: 22d559d7081d98649a627ca74e5e26d3 + m_SubObjectName: + m_SubObjectType: + m_SubObjectGUID: + m_EditorAssetChanged: 0 diff --git a/Assets/Resources_moved/Example/Platformer/Configs/Audio/Death.asset.meta b/Assets/Resources_moved/Example/Platformer/Configs/Audio/Death.asset.meta new file mode 100644 index 0000000..227eef6 --- /dev/null +++ b/Assets/Resources_moved/Example/Platformer/Configs/Audio/Death.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 74a3a6c4ec774af4fa370074bfd17c40 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Resources_moved/Example/Platformer/Configs/Audio/EnemyDeath 1.asset b/Assets/Resources_moved/Example/Platformer/Configs/Audio/EnemyDeath 1.asset new file mode 100644 index 0000000..c00dd9d --- /dev/null +++ b/Assets/Resources_moved/Example/Platformer/Configs/Audio/EnemyDeath 1.asset @@ -0,0 +1,22 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: a8b089dd854c0a084ba749d31f8b399f, type: 3} + m_Name: EnemyDeath 1 + m_EditorClassIdentifier: Assembly-CSharp::Code.Infrastructure.Audio.AudioInfoConfig + GroupName: 1 + id: 6 + fileReference: + m_AssetGUID: 8d4c5cacc797c0e45ae5f7f467619e98 + m_SubObjectName: + m_SubObjectType: + m_SubObjectGUID: + m_EditorAssetChanged: 0 diff --git a/Assets/Resources_moved/Example/Platformer/Configs/Audio/EnemyDeath 1.asset.meta b/Assets/Resources_moved/Example/Platformer/Configs/Audio/EnemyDeath 1.asset.meta new file mode 100644 index 0000000..e7ff876 --- /dev/null +++ b/Assets/Resources_moved/Example/Platformer/Configs/Audio/EnemyDeath 1.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 35af072d3b1b6cf4688cd843ea8619ef +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Resources_moved/Example/Platformer/Configs/Audio/EnemyDeath.asset b/Assets/Resources_moved/Example/Platformer/Configs/Audio/EnemyDeath.asset new file mode 100644 index 0000000..233c77d --- /dev/null +++ b/Assets/Resources_moved/Example/Platformer/Configs/Audio/EnemyDeath.asset @@ -0,0 +1,22 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: a8b089dd854c0a084ba749d31f8b399f, type: 3} + m_Name: EnemyDeath + m_EditorClassIdentifier: Assembly-CSharp::Code.Infrastructure.Audio.AudioInfoConfig + GroupName: 1 + id: 5 + fileReference: + m_AssetGUID: 22d559d7081d98649a627ca74e5e26d3 + m_SubObjectName: + m_SubObjectType: + m_SubObjectGUID: + m_EditorAssetChanged: 0 diff --git a/Assets/Resources_moved/Example/Platformer/Configs/Audio/EnemyDeath.asset.meta b/Assets/Resources_moved/Example/Platformer/Configs/Audio/EnemyDeath.asset.meta new file mode 100644 index 0000000..0b1da6c --- /dev/null +++ b/Assets/Resources_moved/Example/Platformer/Configs/Audio/EnemyDeath.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 865efba1bf0303b46ad5262bd945e4bd +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Resources_moved/Example/Platformer/Configs/Audio/GameEnd.asset b/Assets/Resources_moved/Example/Platformer/Configs/Audio/GameEnd.asset new file mode 100644 index 0000000..fce9f54 --- /dev/null +++ b/Assets/Resources_moved/Example/Platformer/Configs/Audio/GameEnd.asset @@ -0,0 +1,22 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: a8b089dd854c0a084ba749d31f8b399f, type: 3} + m_Name: GameEnd + m_EditorClassIdentifier: Assembly-CSharp::Code.Infrastructure.Audio.AudioInfoConfig + GroupName: 1 + id: 4 + fileReference: + m_AssetGUID: 6a787ed54bab3244cacb4a73ebe09691 + m_SubObjectName: + m_SubObjectType: + m_SubObjectGUID: + m_EditorAssetChanged: 0 diff --git a/Assets/Resources_moved/Example/Platformer/Configs/Audio/GameEnd.asset.meta b/Assets/Resources_moved/Example/Platformer/Configs/Audio/GameEnd.asset.meta new file mode 100644 index 0000000..49579b3 --- /dev/null +++ b/Assets/Resources_moved/Example/Platformer/Configs/Audio/GameEnd.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 7d8290233b2e82e4e9a8f85ca8b2e26d +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Resources_moved/Example/Platformer/Configs/Audio/Hit.asset b/Assets/Resources_moved/Example/Platformer/Configs/Audio/Hit.asset new file mode 100644 index 0000000..feb7fef --- /dev/null +++ b/Assets/Resources_moved/Example/Platformer/Configs/Audio/Hit.asset @@ -0,0 +1,22 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: a8b089dd854c0a084ba749d31f8b399f, type: 3} + m_Name: Hit + m_EditorClassIdentifier: Assembly-CSharp::Code.Infrastructure.Audio.AudioInfoConfig + GroupName: 1 + id: 1 + fileReference: + m_AssetGUID: 9fa1fde1ddb533d4b8f4a758cc83a696 + m_SubObjectName: + m_SubObjectType: + m_SubObjectGUID: + m_EditorAssetChanged: 0 diff --git a/Assets/Resources_moved/Example/Platformer/Configs/Audio/Hit.asset.meta b/Assets/Resources_moved/Example/Platformer/Configs/Audio/Hit.asset.meta new file mode 100644 index 0000000..0796042 --- /dev/null +++ b/Assets/Resources_moved/Example/Platformer/Configs/Audio/Hit.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 4e1c17d1e33b9994891321c0ef47c179 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Resources_moved/Example/Platformer/Configs/Enemies/Bee.asset b/Assets/Resources_moved/Example/Platformer/Configs/Enemies/Bee.asset index b7bd05b..bdbc2f2 100644 --- a/Assets/Resources_moved/Example/Platformer/Configs/Enemies/Bee.asset +++ b/Assets/Resources_moved/Example/Platformer/Configs/Enemies/Bee.asset @@ -18,7 +18,8 @@ MonoBehaviour: acceleration: 0 damage: 0 type: 2 - maxHealth: 0 + maxHealth: 1 + damageRecieveThreshold: 0 prefabReference: m_AssetGUID: 0eb645a0c96b1c437bf0712d6b856b7c m_SubObjectName: diff --git a/Assets/Resources_moved/Example/Platformer/Configs/Enemies/Boar.asset b/Assets/Resources_moved/Example/Platformer/Configs/Enemies/Boar.asset index 41844cf..5f0f95d 100644 --- a/Assets/Resources_moved/Example/Platformer/Configs/Enemies/Boar.asset +++ b/Assets/Resources_moved/Example/Platformer/Configs/Enemies/Boar.asset @@ -18,7 +18,8 @@ MonoBehaviour: acceleration: 0 damage: 0 type: 1 - maxHealth: 0 + maxHealth: 1 + damageRecieveThreshold: 0.3 prefabReference: m_AssetGUID: d0a994964f42e0c0dad3da32f7b52c90 m_SubObjectName: diff --git a/Assets/Resources_moved/Example/Platformer/Configs/Enemies/Snail.asset b/Assets/Resources_moved/Example/Platformer/Configs/Enemies/Snail.asset index f895f94..95fa8c7 100644 --- a/Assets/Resources_moved/Example/Platformer/Configs/Enemies/Snail.asset +++ b/Assets/Resources_moved/Example/Platformer/Configs/Enemies/Snail.asset @@ -18,7 +18,8 @@ MonoBehaviour: acceleration: 0 damage: 0 type: 3 - maxHealth: 0 + maxHealth: 2 + damageRecieveThreshold: 0 prefabReference: m_AssetGUID: 77a268730c52ad461920f3459fdda1a0 m_SubObjectName: diff --git a/Assets/Resources_moved/Example/Platformer/Configs/PlayerSettings.asset b/Assets/Resources_moved/Example/Platformer/Configs/PlayerSettings.asset index ecefd4b..c7ee6b2 100644 --- a/Assets/Resources_moved/Example/Platformer/Configs/PlayerSettings.asset +++ b/Assets/Resources_moved/Example/Platformer/Configs/PlayerSettings.asset @@ -19,6 +19,7 @@ MonoBehaviour: damage: 1 type: 0 maxHealth: 3 + damageRecieveThreshold: 1 prefabReference: m_AssetGUID: 234ab51636edcbab88dbadfdb7fbfe65 m_SubObjectName: diff --git a/Assets/Resources_moved/Example/Platformer/Configs/Scenes.meta b/Assets/Resources_moved/Example/Platformer/Configs/Scenes.meta new file mode 100644 index 0000000..abb2b05 --- /dev/null +++ b/Assets/Resources_moved/Example/Platformer/Configs/Scenes.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: e3078e4f9c5f4d04683bf94a522042a3 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Resources_moved/Example/Platformer/Configs/Scenes/Platformer 2.asset b/Assets/Resources_moved/Example/Platformer/Configs/Scenes/Platformer 2.asset new file mode 100644 index 0000000..7ca4fae --- /dev/null +++ b/Assets/Resources_moved/Example/Platformer/Configs/Scenes/Platformer 2.asset @@ -0,0 +1,21 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: e2d19619e7539f14ea973463204f542c, type: 3} + m_Name: Platformer 2 + m_EditorClassIdentifier: Assembly-CSharp::Code.Infrastructure.SceneLoader.SceneInfoConfig + SceneAsset: + m_AssetGUID: 1e1fce0a447e4524eb3c7e8b0ec71c7c + m_SubObjectName: + m_SubObjectType: + m_SubObjectGUID: + m_EditorAssetChanged: 0 + SceneId: 4 diff --git a/Assets/Resources_moved/Example/Platformer/Configs/Scenes/Platformer 2.asset.meta b/Assets/Resources_moved/Example/Platformer/Configs/Scenes/Platformer 2.asset.meta new file mode 100644 index 0000000..6d795dc --- /dev/null +++ b/Assets/Resources_moved/Example/Platformer/Configs/Scenes/Platformer 2.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: cbab0864467bc624caa2e614a126d198 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Resources_moved/Example/Platformer/Configs/Scenes/Platformer 3.asset b/Assets/Resources_moved/Example/Platformer/Configs/Scenes/Platformer 3.asset new file mode 100644 index 0000000..a76b63d --- /dev/null +++ b/Assets/Resources_moved/Example/Platformer/Configs/Scenes/Platformer 3.asset @@ -0,0 +1,21 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: e2d19619e7539f14ea973463204f542c, type: 3} + m_Name: Platformer 3 + m_EditorClassIdentifier: Assembly-CSharp::Code.Infrastructure.SceneLoader.SceneInfoConfig + SceneAsset: + m_AssetGUID: 1ffad73500b8c4a46b36468ab4d5c56c + m_SubObjectName: + m_SubObjectType: + m_SubObjectGUID: + m_EditorAssetChanged: 0 + SceneId: 5 diff --git a/Assets/Resources_moved/Example/Platformer/Configs/Scenes/Platformer 3.asset.meta b/Assets/Resources_moved/Example/Platformer/Configs/Scenes/Platformer 3.asset.meta new file mode 100644 index 0000000..78dff18 --- /dev/null +++ b/Assets/Resources_moved/Example/Platformer/Configs/Scenes/Platformer 3.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 79588608023cfce47b4005cea63a8396 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Resources_moved/Example/Platformer/Configs/Platformer.asset b/Assets/Resources_moved/Example/Platformer/Configs/Scenes/Platformer.asset similarity index 100% rename from Assets/Resources_moved/Example/Platformer/Configs/Platformer.asset rename to Assets/Resources_moved/Example/Platformer/Configs/Scenes/Platformer.asset diff --git a/Assets/Resources_moved/Example/Platformer/Configs/Platformer.asset.meta b/Assets/Resources_moved/Example/Platformer/Configs/Scenes/Platformer.asset.meta similarity index 100% rename from Assets/Resources_moved/Example/Platformer/Configs/Platformer.asset.meta rename to Assets/Resources_moved/Example/Platformer/Configs/Scenes/Platformer.asset.meta diff --git a/Assets/Resources_moved/Example/Platformer/Platformer 2.unity b/Assets/Resources_moved/Example/Platformer/Platformer 2.unity new file mode 100644 index 0000000..40db953 --- /dev/null +++ b/Assets/Resources_moved/Example/Platformer/Platformer 2.unity @@ -0,0 +1,1504 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!29 &1 +OcclusionCullingSettings: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_OcclusionBakeSettings: + smallestOccluder: 5 + smallestHole: 0.25 + backfaceThreshold: 100 + m_SceneGUID: 00000000000000000000000000000000 + m_OcclusionCullingData: {fileID: 0} +--- !u!104 &2 +RenderSettings: + m_ObjectHideFlags: 0 + serializedVersion: 10 + m_Fog: 0 + m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} + m_FogMode: 3 + m_FogDensity: 0.01 + m_LinearFogStart: 0 + m_LinearFogEnd: 300 + m_AmbientSkyColor: {r: 0.27049786, g: 0.5332766, b: 0.5394797, a: 1} + m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} + m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} + m_AmbientIntensity: 1 + m_AmbientMode: 3 + m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} + m_SkyboxMaterial: {fileID: 2100000, guid: 4491ad9e8126bb64ca15554645db7082, type: 2} + m_HaloStrength: 0.5 + m_FlareStrength: 1 + m_FlareFadeSpeed: 3 + m_HaloTexture: {fileID: 0} + m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} + m_DefaultReflectionMode: 0 + m_DefaultReflectionResolution: 128 + m_ReflectionBounces: 1 + m_ReflectionIntensity: 1 + m_CustomReflection: {fileID: 0} + m_Sun: {fileID: 0} + m_UseRadianceAmbientProbe: 0 +--- !u!157 &3 +LightmapSettings: + m_ObjectHideFlags: 0 + serializedVersion: 13 + m_BakeOnSceneLoad: 0 + m_GISettings: + serializedVersion: 2 + m_BounceScale: 1 + m_IndirectOutputScale: 1 + m_AlbedoBoost: 1 + m_EnvironmentLightingMode: 0 + m_EnableBakedLightmaps: 1 + m_EnableRealtimeLightmaps: 0 + m_LightmapEditorSettings: + serializedVersion: 12 + m_Resolution: 2 + m_BakeResolution: 40 + m_AtlasSize: 1024 + m_AO: 0 + m_AOMaxDistance: 1 + m_CompAOExponent: 1 + m_CompAOExponentDirect: 0 + m_ExtractAmbientOcclusion: 0 + m_Padding: 2 + m_LightmapParameters: {fileID: 0} + m_LightmapsBakeMode: 1 + m_TextureCompression: 1 + m_ReflectionCompression: 2 + m_MixedBakeMode: 2 + m_BakeBackend: 1 + m_PVRSampling: 1 + m_PVRDirectSampleCount: 32 + m_PVRSampleCount: 512 + m_PVRBounces: 2 + m_PVREnvironmentSampleCount: 256 + m_PVREnvironmentReferencePointCount: 2048 + m_PVRFilteringMode: 1 + m_PVRDenoiserTypeDirect: 1 + m_PVRDenoiserTypeIndirect: 1 + m_PVRDenoiserTypeAO: 1 + m_PVRFilterTypeDirect: 0 + m_PVRFilterTypeIndirect: 0 + m_PVRFilterTypeAO: 0 + m_PVREnvironmentMIS: 1 + m_PVRCulling: 1 + m_PVRFilteringGaussRadiusDirect: 1 + m_PVRFilteringGaussRadiusIndirect: 5 + m_PVRFilteringGaussRadiusAO: 2 + m_PVRFilteringAtrousPositionSigmaDirect: 0.5 + m_PVRFilteringAtrousPositionSigmaIndirect: 2 + m_PVRFilteringAtrousPositionSigmaAO: 1 + m_ExportTrainingData: 0 + m_TrainingDataDestination: TrainingData + m_LightProbeSampleCountMultiplier: 4 + m_LightingDataAsset: {fileID: 20201, guid: 0000000000000000f000000000000000, type: 0} + m_LightingSettings: {fileID: 0} +--- !u!196 &4 +NavMeshSettings: + serializedVersion: 2 + m_ObjectHideFlags: 0 + m_BuildSettings: + serializedVersion: 3 + agentTypeID: 0 + agentRadius: 0.5 + agentHeight: 2 + agentSlope: 45 + agentClimb: 0.4 + ledgeDropHeight: 0 + maxJumpAcrossDistance: 0 + minRegionArea: 2 + manualCellSize: 0 + cellSize: 0.16666667 + manualTileSize: 0 + tileSize: 256 + buildHeightMesh: 0 + maxJobWorkers: 0 + preserveTilesOutsideBounds: 0 + debug: + m_Flags: 0 + m_NavMeshData: {fileID: 0} +--- !u!1 &60958141 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 60958143} + - component: {fileID: 60958145} + - component: {fileID: 60958146} + m_Layer: 0 + m_Name: SceneScope + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &60958143 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 60958141} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &60958145 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 60958141} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5312032623c34414a54ea00e35a7eb8e, type: 3} + m_Name: + m_EditorClassIdentifier: Reflex::Reflex.Core.ContainerScope +--- !u!114 &60958146 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 60958141} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 9f7e699014b54f2ca9338e1168db97e3, type: 3} + m_Name: + m_EditorClassIdentifier: Assembly-CSharp::Code.Example.Platformer.Platformer2SceneInstaller + firstLevelData: + enemySpawnPoints: + - {fileID: 591811690} + playerCheckPoints: + - {fileID: 1862008542} +--- !u!1 &97537770 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 97537771} + m_Layer: 0 + m_Name: 1 + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &97537771 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 97537770} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0.804, y: 0.558, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &321811368 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 321811371} + - component: {fileID: 321811370} + - component: {fileID: 321811369} + m_Layer: 9 + m_Name: Buildings_0 (5) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!61 &321811369 +BoxCollider2D: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 321811368} + m_Enabled: 1 + serializedVersion: 3 + m_Density: 1 + m_Material: {fileID: 0} + m_IncludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_ExcludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_LayerOverridePriority: 0 + m_ForceSendLayers: + serializedVersion: 2 + m_Bits: 4294967295 + m_ForceReceiveLayers: + serializedVersion: 2 + m_Bits: 4294967295 + m_ContactCaptureLayers: + serializedVersion: 2 + m_Bits: 4294967295 + m_CallbackLayers: + serializedVersion: 2 + m_Bits: 4294967295 + m_IsTrigger: 0 + m_UsedByEffector: 0 + m_CompositeOperation: 1 + m_CompositeOrder: 0 + m_Offset: {x: 0, y: 0} + m_SpriteTilingProperty: + border: {x: 0, y: 0, z: 0, w: 0} + pivot: {x: 0.5, y: 0.5} + oldSize: {x: 0.8, y: 0.67} + newSize: {x: 0.8, y: 0.67} + adaptiveTilingThreshold: 0.5 + drawMode: 0 + adaptiveTiling: 0 + m_AutoTiling: 0 + m_Size: {x: 0.8, y: 0.67} + m_EdgeRadius: 0 +--- !u!212 &321811370 +SpriteRenderer: + serializedVersion: 2 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 321811368} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 0 + m_RayTraceProcedural: 0 + m_RayTracingAccelStructBuildFlagsOverride: 0 + m_RayTracingAccelStructBuildFlags: 1 + m_SmallMeshCulling: 1 + m_ForceMeshLod: -1 + m_MeshLodSelectionBias: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: 9dfc825aed78fcd4ba02077103263b40, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 0 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_GlobalIlluminationMeshLod: 0 + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_MaskInteraction: 0 + m_Sprite: {fileID: -1902027194, guid: 6b7c943308e1fcdd5b986969ed12d0ae, type: 3} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_FlipX: 0 + m_FlipY: 0 + m_DrawMode: 0 + m_Size: {x: 0.8, y: 0.67} + m_AdaptiveModeThreshold: 0.5 + m_SpriteTileMode: 0 + m_WasSpriteAssigned: 1 + m_SpriteSortPoint: 0 +--- !u!4 &321811371 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 321811368} + serializedVersion: 2 + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 1.584, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 595108274} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &494311809 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 494311810} + - component: {fileID: 494311812} + - component: {fileID: 494311811} + m_Layer: 9 + m_Name: Buildings_0 (3) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &494311810 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 494311809} + serializedVersion: 2 + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -2.407, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 595108274} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!61 &494311811 +BoxCollider2D: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 494311809} + m_Enabled: 1 + serializedVersion: 3 + m_Density: 1 + m_Material: {fileID: 0} + m_IncludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_ExcludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_LayerOverridePriority: 0 + m_ForceSendLayers: + serializedVersion: 2 + m_Bits: 4294967295 + m_ForceReceiveLayers: + serializedVersion: 2 + m_Bits: 4294967295 + m_ContactCaptureLayers: + serializedVersion: 2 + m_Bits: 4294967295 + m_CallbackLayers: + serializedVersion: 2 + m_Bits: 4294967295 + m_IsTrigger: 0 + m_UsedByEffector: 0 + m_CompositeOperation: 1 + m_CompositeOrder: 0 + m_Offset: {x: 0, y: 0} + m_SpriteTilingProperty: + border: {x: 0, y: 0, z: 0, w: 0} + pivot: {x: 0.5, y: 0.5} + oldSize: {x: 0.8, y: 0.67} + newSize: {x: 0.8, y: 0.67} + adaptiveTilingThreshold: 0.5 + drawMode: 0 + adaptiveTiling: 0 + m_AutoTiling: 0 + m_Size: {x: 0.8, y: 0.67} + m_EdgeRadius: 0 +--- !u!212 &494311812 +SpriteRenderer: + serializedVersion: 2 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 494311809} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 0 + m_RayTraceProcedural: 0 + m_RayTracingAccelStructBuildFlagsOverride: 0 + m_RayTracingAccelStructBuildFlags: 1 + m_SmallMeshCulling: 1 + m_ForceMeshLod: -1 + m_MeshLodSelectionBias: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: 9dfc825aed78fcd4ba02077103263b40, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 0 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_GlobalIlluminationMeshLod: 0 + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_MaskInteraction: 0 + m_Sprite: {fileID: -1902027194, guid: 6b7c943308e1fcdd5b986969ed12d0ae, type: 3} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_FlipX: 0 + m_FlipY: 0 + m_DrawMode: 0 + m_Size: {x: 0.8, y: 0.67} + m_AdaptiveModeThreshold: 0.5 + m_SpriteTileMode: 0 + m_WasSpriteAssigned: 1 + m_SpriteSortPoint: 0 +--- !u!1 &591811689 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 591811690} + m_Layer: 0 + m_Name: SpawnPoint (1) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &591811690 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 591811689} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 2.48, y: -0.05, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &595108273 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 595108274} + - component: {fileID: 595108276} + - component: {fileID: 595108275} + m_Layer: 9 + m_Name: Location + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &595108274 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 595108273} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 1.707, y: -0.802, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 1237014523} + - {fileID: 494311810} + - {fileID: 1947090012} + - {fileID: 2009006007} + - {fileID: 2086297240} + - {fileID: 321811371} + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!66 &595108275 +CompositeCollider2D: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 595108273} + m_Enabled: 1 + serializedVersion: 3 + m_Density: 1 + m_Material: {fileID: 0} + m_IncludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_ExcludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_LayerOverridePriority: 0 + m_ForceSendLayers: + serializedVersion: 2 + m_Bits: 4294967295 + m_ForceReceiveLayers: + serializedVersion: 2 + m_Bits: 4294967295 + m_ContactCaptureLayers: + serializedVersion: 2 + m_Bits: 4294967295 + m_CallbackLayers: + serializedVersion: 2 + m_Bits: 4294967295 + m_IsTrigger: 0 + m_UsedByEffector: 0 + m_CompositeOperation: 0 + m_CompositeOrder: 0 + m_Offset: {x: 0, y: 0} + m_GeometryType: 1 + m_GenerationType: 0 + m_EdgeRadius: 0 + m_ColliderPaths: + - m_Collider: {fileID: 1237014524} + m_ColliderPaths: + - - X: -12090000 + Y: 3350000 + - X: -20090000 + Y: 3350000 + - X: -20090000 + Y: -3350000 + - X: -12090000 + Y: -3350000 + - m_Collider: {fileID: 494311811} + m_ColliderPaths: + - - X: -20070000 + Y: 3350000 + - X: -28070002 + Y: 3350000 + - X: -28070002 + Y: -3350000 + - X: -20070000 + Y: -3350000 + - m_Collider: {fileID: 1947090010} + m_ColliderPaths: + - - X: -4100000 + Y: 3350000 + - X: -12100000 + Y: 3350000 + - X: -12100000 + Y: -3350000 + - X: -4100000 + Y: -3350000 + - m_Collider: {fileID: 2009006005} + m_ColliderPaths: + - - X: 11850001 + Y: 3350000 + - X: 3850000 + Y: 3350000 + - X: 3850000 + Y: -3350000 + - X: 11850001 + Y: -3350000 + - m_Collider: {fileID: 2086297238} + m_ColliderPaths: + - - X: 3889999 + Y: 3350000 + - X: -4110000 + Y: 3350000 + - X: -4110000 + Y: -3350000 + - X: 3889999 + Y: -3350000 + - m_Collider: {fileID: 321811369} + m_ColliderPaths: + - - X: 19839998 + Y: 3350000 + - X: 11839999 + Y: 3350000 + - X: 11839999 + Y: -3350000 + - X: 19839998 + Y: -3350000 + m_CompositePaths: + m_Paths: + - - {x: -2.8070002, y: -0.335} + - {x: 1.9839998, y: -0.335} + - {x: 1.9839998, y: 0.335} + - {x: -2.8070002, y: 0.335} + m_VertexDistance: 0.0005 + m_OffsetDistance: 0 + m_UseDelaunayMesh: 0 + m_CompositeGameObject: {fileID: 595108273} +--- !u!50 &595108276 +Rigidbody2D: + serializedVersion: 5 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 595108273} + m_BodyType: 2 + m_Simulated: 1 + m_UseFullKinematicContacts: 0 + m_UseAutoMass: 0 + m_Mass: 1 + m_LinearDamping: 0 + m_AngularDamping: 0.05 + m_GravityScale: 1 + m_Material: {fileID: 0} + m_IncludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_ExcludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_Interpolate: 0 + m_SleepingMode: 1 + m_CollisionDetection: 0 + m_Constraints: 0 +--- !u!1 &1237014521 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1237014523} + - component: {fileID: 1237014522} + - component: {fileID: 1237014524} + m_Layer: 9 + m_Name: Buildings_0 + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!212 &1237014522 +SpriteRenderer: + serializedVersion: 2 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1237014521} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 0 + m_RayTraceProcedural: 0 + m_RayTracingAccelStructBuildFlagsOverride: 0 + m_RayTracingAccelStructBuildFlags: 1 + m_SmallMeshCulling: 1 + m_ForceMeshLod: -1 + m_MeshLodSelectionBias: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: 9dfc825aed78fcd4ba02077103263b40, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 0 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_GlobalIlluminationMeshLod: 0 + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_MaskInteraction: 0 + m_Sprite: {fileID: -1902027194, guid: 6b7c943308e1fcdd5b986969ed12d0ae, type: 3} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_FlipX: 0 + m_FlipY: 0 + m_DrawMode: 0 + m_Size: {x: 0.8, y: 0.67} + m_AdaptiveModeThreshold: 0.5 + m_SpriteTileMode: 0 + m_WasSpriteAssigned: 1 + m_SpriteSortPoint: 0 +--- !u!4 &1237014523 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1237014521} + serializedVersion: 2 + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -1.609, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 595108274} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!61 &1237014524 +BoxCollider2D: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1237014521} + m_Enabled: 1 + serializedVersion: 3 + m_Density: 1 + m_Material: {fileID: 0} + m_IncludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_ExcludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_LayerOverridePriority: 0 + m_ForceSendLayers: + serializedVersion: 2 + m_Bits: 4294967295 + m_ForceReceiveLayers: + serializedVersion: 2 + m_Bits: 4294967295 + m_ContactCaptureLayers: + serializedVersion: 2 + m_Bits: 4294967295 + m_CallbackLayers: + serializedVersion: 2 + m_Bits: 4294967295 + m_IsTrigger: 0 + m_UsedByEffector: 0 + m_CompositeOperation: 1 + m_CompositeOrder: 0 + m_Offset: {x: 0, y: 0} + m_SpriteTilingProperty: + border: {x: 0, y: 0, z: 0, w: 0} + pivot: {x: 0.5, y: 0.5} + oldSize: {x: 0.8, y: 0.67} + newSize: {x: 0.8, y: 0.67} + adaptiveTilingThreshold: 0.5 + drawMode: 0 + adaptiveTiling: 0 + m_AutoTiling: 0 + m_Size: {x: 0.8, y: 0.67} + m_EdgeRadius: 0 +--- !u!1 &1369074042 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1369074043} + m_Layer: 0 + m_Name: 1 (1) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1369074043 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1369074042} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 1.84, y: 0.463, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &1464509735 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1464509737} + - component: {fileID: 1464509736} + m_Layer: 0 + m_Name: Background + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 2147483647 + m_IsActive: 1 +--- !u!212 &1464509736 +SpriteRenderer: + serializedVersion: 2 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1464509735} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 0 + m_RayTraceProcedural: 0 + m_RayTracingAccelStructBuildFlagsOverride: 0 + m_RayTracingAccelStructBuildFlags: 1 + m_SmallMeshCulling: 1 + m_ForceMeshLod: -1 + m_MeshLodSelectionBias: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: 9dfc825aed78fcd4ba02077103263b40, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 0 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_GlobalIlluminationMeshLod: 0 + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_MaskInteraction: 0 + m_Sprite: {fileID: 21300000, guid: c46bebc0ec3e72b8aa3609ab8b1afdae, type: 3} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_FlipX: 0 + m_FlipY: 0 + m_DrawMode: 0 + m_Size: {x: 4.8, y: 2.72} + m_AdaptiveModeThreshold: 0.5 + m_SpriteTileMode: 0 + m_WasSpriteAssigned: 1 + m_SpriteSortPoint: 0 +--- !u!4 &1464509737 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1464509735} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0.75, z: 5} + m_LocalScale: {x: 3, y: 3, z: 3} + m_ConstrainProportionsScale: 1 + m_Children: [] + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &1821261009 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1821261011} + - component: {fileID: 1821261010} + - component: {fileID: 1821261012} + m_Layer: 12 + m_Name: FinishTrigger + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 2147483647 + m_IsActive: 1 +--- !u!61 &1821261010 +BoxCollider2D: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1821261009} + m_Enabled: 1 + serializedVersion: 3 + m_Density: 1 + m_Material: {fileID: 0} + m_IncludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_ExcludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_LayerOverridePriority: 0 + m_ForceSendLayers: + serializedVersion: 2 + m_Bits: 4294967295 + m_ForceReceiveLayers: + serializedVersion: 2 + m_Bits: 4294967295 + m_ContactCaptureLayers: + serializedVersion: 2 + m_Bits: 4294967295 + m_CallbackLayers: + serializedVersion: 2 + m_Bits: 4294967295 + m_IsTrigger: 1 + m_UsedByEffector: 0 + m_CompositeOperation: 0 + m_CompositeOrder: 0 + m_Offset: {x: 0, y: 0} + m_SpriteTilingProperty: + border: {x: 0, y: 0, z: 0, w: 0} + pivot: {x: 0, y: 0} + oldSize: {x: 0, y: 0} + newSize: {x: 0, y: 0} + adaptiveTilingThreshold: 0 + drawMode: 0 + adaptiveTiling: 0 + m_AutoTiling: 0 + m_Size: {x: 1, y: 1} + m_EdgeRadius: 0 +--- !u!4 &1821261011 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1821261009} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 1.37, y: -0.2, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &1821261012 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1821261009} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 8241eab603dc4d86bb4bac79c0cb9740, type: 3} + m_Name: + m_EditorClassIdentifier: Assembly-CSharp::Code.Example.Platformer.Level.LevelEndTrigger +--- !u!1 &1862008541 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1862008542} + m_Layer: 0 + m_Name: SpawnPoint (2) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1862008542 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1862008541} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: -0.413, y: -0.05, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &1947090009 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1947090012} + - component: {fileID: 1947090011} + - component: {fileID: 1947090010} + m_Layer: 9 + m_Name: Buildings_0 (1) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!61 &1947090010 +BoxCollider2D: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1947090009} + m_Enabled: 1 + serializedVersion: 3 + m_Density: 1 + m_Material: {fileID: 0} + m_IncludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_ExcludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_LayerOverridePriority: 0 + m_ForceSendLayers: + serializedVersion: 2 + m_Bits: 4294967295 + m_ForceReceiveLayers: + serializedVersion: 2 + m_Bits: 4294967295 + m_ContactCaptureLayers: + serializedVersion: 2 + m_Bits: 4294967295 + m_CallbackLayers: + serializedVersion: 2 + m_Bits: 4294967295 + m_IsTrigger: 0 + m_UsedByEffector: 0 + m_CompositeOperation: 1 + m_CompositeOrder: 0 + m_Offset: {x: 0, y: 0} + m_SpriteTilingProperty: + border: {x: 0, y: 0, z: 0, w: 0} + pivot: {x: 0.5, y: 0.5} + oldSize: {x: 0.8, y: 0.67} + newSize: {x: 0.8, y: 0.67} + adaptiveTilingThreshold: 0.5 + drawMode: 0 + adaptiveTiling: 0 + m_AutoTiling: 0 + m_Size: {x: 0.8, y: 0.67} + m_EdgeRadius: 0 +--- !u!212 &1947090011 +SpriteRenderer: + serializedVersion: 2 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1947090009} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 0 + m_RayTraceProcedural: 0 + m_RayTracingAccelStructBuildFlagsOverride: 0 + m_RayTracingAccelStructBuildFlags: 1 + m_SmallMeshCulling: 1 + m_ForceMeshLod: -1 + m_MeshLodSelectionBias: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: 9dfc825aed78fcd4ba02077103263b40, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 0 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_GlobalIlluminationMeshLod: 0 + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_MaskInteraction: 0 + m_Sprite: {fileID: -1902027194, guid: 6b7c943308e1fcdd5b986969ed12d0ae, type: 3} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_FlipX: 0 + m_FlipY: 0 + m_DrawMode: 0 + m_Size: {x: 0.8, y: 0.67} + m_AdaptiveModeThreshold: 0.5 + m_SpriteTileMode: 0 + m_WasSpriteAssigned: 1 + m_SpriteSortPoint: 0 +--- !u!4 &1947090012 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1947090009} + serializedVersion: 2 + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -0.81, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 595108274} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &2009006004 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 2009006007} + - component: {fileID: 2009006006} + - component: {fileID: 2009006005} + m_Layer: 9 + m_Name: Buildings_0 (4) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!61 &2009006005 +BoxCollider2D: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2009006004} + m_Enabled: 1 + serializedVersion: 3 + m_Density: 1 + m_Material: {fileID: 0} + m_IncludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_ExcludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_LayerOverridePriority: 0 + m_ForceSendLayers: + serializedVersion: 2 + m_Bits: 4294967295 + m_ForceReceiveLayers: + serializedVersion: 2 + m_Bits: 4294967295 + m_ContactCaptureLayers: + serializedVersion: 2 + m_Bits: 4294967295 + m_CallbackLayers: + serializedVersion: 2 + m_Bits: 4294967295 + m_IsTrigger: 0 + m_UsedByEffector: 0 + m_CompositeOperation: 1 + m_CompositeOrder: 0 + m_Offset: {x: 0, y: 0} + m_SpriteTilingProperty: + border: {x: 0, y: 0, z: 0, w: 0} + pivot: {x: 0.5, y: 0.5} + oldSize: {x: 0.8, y: 0.67} + newSize: {x: 0.8, y: 0.67} + adaptiveTilingThreshold: 0.5 + drawMode: 0 + adaptiveTiling: 0 + m_AutoTiling: 0 + m_Size: {x: 0.8, y: 0.67} + m_EdgeRadius: 0 +--- !u!212 &2009006006 +SpriteRenderer: + serializedVersion: 2 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2009006004} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 0 + m_RayTraceProcedural: 0 + m_RayTracingAccelStructBuildFlagsOverride: 0 + m_RayTracingAccelStructBuildFlags: 1 + m_SmallMeshCulling: 1 + m_ForceMeshLod: -1 + m_MeshLodSelectionBias: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: 9dfc825aed78fcd4ba02077103263b40, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 0 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_GlobalIlluminationMeshLod: 0 + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_MaskInteraction: 0 + m_Sprite: {fileID: -1902027194, guid: 6b7c943308e1fcdd5b986969ed12d0ae, type: 3} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_FlipX: 0 + m_FlipY: 0 + m_DrawMode: 0 + m_Size: {x: 0.8, y: 0.67} + m_AdaptiveModeThreshold: 0.5 + m_SpriteTileMode: 0 + m_WasSpriteAssigned: 1 + m_SpriteSortPoint: 0 +--- !u!4 &2009006007 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2009006004} + serializedVersion: 2 + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0.785, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 595108274} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &2086297237 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 2086297240} + - component: {fileID: 2086297239} + - component: {fileID: 2086297238} + m_Layer: 9 + m_Name: Buildings_0 (2) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!61 &2086297238 +BoxCollider2D: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2086297237} + m_Enabled: 1 + serializedVersion: 3 + m_Density: 1 + m_Material: {fileID: 0} + m_IncludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_ExcludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_LayerOverridePriority: 0 + m_ForceSendLayers: + serializedVersion: 2 + m_Bits: 4294967295 + m_ForceReceiveLayers: + serializedVersion: 2 + m_Bits: 4294967295 + m_ContactCaptureLayers: + serializedVersion: 2 + m_Bits: 4294967295 + m_CallbackLayers: + serializedVersion: 2 + m_Bits: 4294967295 + m_IsTrigger: 0 + m_UsedByEffector: 0 + m_CompositeOperation: 1 + m_CompositeOrder: 0 + m_Offset: {x: 0, y: 0} + m_SpriteTilingProperty: + border: {x: 0, y: 0, z: 0, w: 0} + pivot: {x: 0.5, y: 0.5} + oldSize: {x: 0.8, y: 0.67} + newSize: {x: 0.8, y: 0.67} + adaptiveTilingThreshold: 0.5 + drawMode: 0 + adaptiveTiling: 0 + m_AutoTiling: 0 + m_Size: {x: 0.8, y: 0.67} + m_EdgeRadius: 0 +--- !u!212 &2086297239 +SpriteRenderer: + serializedVersion: 2 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2086297237} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 0 + m_RayTraceProcedural: 0 + m_RayTracingAccelStructBuildFlagsOverride: 0 + m_RayTracingAccelStructBuildFlags: 1 + m_SmallMeshCulling: 1 + m_ForceMeshLod: -1 + m_MeshLodSelectionBias: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: 9dfc825aed78fcd4ba02077103263b40, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 0 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_GlobalIlluminationMeshLod: 0 + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_MaskInteraction: 0 + m_Sprite: {fileID: -1902027194, guid: 6b7c943308e1fcdd5b986969ed12d0ae, type: 3} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_FlipX: 0 + m_FlipY: 0 + m_DrawMode: 0 + m_Size: {x: 0.8, y: 0.67} + m_AdaptiveModeThreshold: 0.5 + m_SpriteTileMode: 0 + m_WasSpriteAssigned: 1 + m_SpriteSortPoint: 0 +--- !u!4 &2086297240 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2086297237} + serializedVersion: 2 + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -0.011, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 595108274} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1660057539 &9223372036854775807 +SceneRoots: + m_ObjectHideFlags: 0 + m_Roots: + - {fileID: 60958143} + - {fileID: 1464509737} + - {fileID: 595108274} + - {fileID: 97537771} + - {fileID: 1369074043} + - {fileID: 591811690} + - {fileID: 1862008542} + - {fileID: 1821261011} diff --git a/Assets/Resources_moved/Example/Platformer/Platformer 2.unity.meta b/Assets/Resources_moved/Example/Platformer/Platformer 2.unity.meta new file mode 100644 index 0000000..eea68af --- /dev/null +++ b/Assets/Resources_moved/Example/Platformer/Platformer 2.unity.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 1e1fce0a447e4524eb3c7e8b0ec71c7c +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Resources_moved/Example/Platformer/Platformer.unity b/Assets/Resources_moved/Example/Platformer/Platformer 3.unity similarity index 98% rename from Assets/Resources_moved/Example/Platformer/Platformer.unity rename to Assets/Resources_moved/Example/Platformer/Platformer 3.unity index f7977b8..f448495 100644 --- a/Assets/Resources_moved/Example/Platformer/Platformer.unity +++ b/Assets/Resources_moved/Example/Platformer/Platformer 3.unity @@ -20,13 +20,13 @@ RenderSettings: m_FogDensity: 0.01 m_LinearFogStart: 0 m_LinearFogEnd: 300 - m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1} + m_AmbientSkyColor: {r: 0.27049786, g: 0.5332766, b: 0.5394797, a: 1} m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} m_AmbientIntensity: 1 - m_AmbientMode: 0 + m_AmbientMode: 3 m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} - m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0} + m_SkyboxMaterial: {fileID: 2100000, guid: 4491ad9e8126bb64ca15554645db7082, type: 2} m_HaloStrength: 0.5 m_FlareStrength: 1 m_FlareFadeSpeed: 3 @@ -173,9 +173,9 @@ MonoBehaviour: m_GameObject: {fileID: 60958141} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 0aa23aea61d74467889be39a550c9922, type: 3} + m_Script: {fileID: 11500000, guid: f8ad38e6ff54474d8df1d26cb18c2d09, type: 3} m_Name: - m_EditorClassIdentifier: Assembly-CSharp::Code.Example.Platformer.PlatformerSceneInstaller + m_EditorClassIdentifier: Assembly-CSharp::Code.Example.Platformer.Platformer3SceneInstaller firstLevelData: enemySpawnPoints: - {fileID: 591811690} @@ -513,7 +513,7 @@ Transform: m_GameObject: {fileID: 591811689} serializedVersion: 2 m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 2.48, y: -0.05, z: 0} + m_LocalPosition: {x: -0.46, y: -0.05, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: [] @@ -878,7 +878,7 @@ GameObject: m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 + m_StaticEditorFlags: 2147483647 m_IsActive: 1 --- !u!212 &1464509736 SpriteRenderer: @@ -948,8 +948,8 @@ Transform: m_GameObject: {fileID: 1464509735} serializedVersion: 2 m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: -100} - m_LocalScale: {x: 1, y: 1, z: 1} + m_LocalPosition: {x: 0, y: 0.75, z: 5} + m_LocalScale: {x: 3, y: 3, z: 3} m_ConstrainProportionsScale: 1 m_Children: [] m_Father: {fileID: 0} @@ -979,7 +979,7 @@ Transform: m_GameObject: {fileID: 1862008541} serializedVersion: 2 m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: -0.413, y: -0.05, z: 0} + m_LocalPosition: {x: 3, y: -0.05, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: [] diff --git a/Assets/Resources_moved/Example/Platformer/Platformer 3.unity.meta b/Assets/Resources_moved/Example/Platformer/Platformer 3.unity.meta new file mode 100644 index 0000000..7c0630e --- /dev/null +++ b/Assets/Resources_moved/Example/Platformer/Platformer 3.unity.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 1ffad73500b8c4a46b36468ab4d5c56c +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Resources_moved/Example/Platformer/PlatformerDependency.unity b/Assets/Resources_moved/Example/Platformer/PlatformerDependency.unity new file mode 100644 index 0000000..b7ad5c6 --- /dev/null +++ b/Assets/Resources_moved/Example/Platformer/PlatformerDependency.unity @@ -0,0 +1,183 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!29 &1 +OcclusionCullingSettings: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_OcclusionBakeSettings: + smallestOccluder: 5 + smallestHole: 0.25 + backfaceThreshold: 100 + m_SceneGUID: 00000000000000000000000000000000 + m_OcclusionCullingData: {fileID: 0} +--- !u!104 &2 +RenderSettings: + m_ObjectHideFlags: 0 + serializedVersion: 10 + m_Fog: 0 + m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} + m_FogMode: 3 + m_FogDensity: 0.01 + m_LinearFogStart: 0 + m_LinearFogEnd: 300 + m_AmbientSkyColor: {r: 0.27049786, g: 0.5332766, b: 0.5394797, a: 1} + m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} + m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} + m_AmbientIntensity: 1 + m_AmbientMode: 3 + m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} + m_SkyboxMaterial: {fileID: 2100000, guid: 4491ad9e8126bb64ca15554645db7082, type: 2} + m_HaloStrength: 0.5 + m_FlareStrength: 1 + m_FlareFadeSpeed: 3 + m_HaloTexture: {fileID: 0} + m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} + m_DefaultReflectionMode: 0 + m_DefaultReflectionResolution: 128 + m_ReflectionBounces: 1 + m_ReflectionIntensity: 1 + m_CustomReflection: {fileID: 0} + m_Sun: {fileID: 0} + m_UseRadianceAmbientProbe: 0 +--- !u!157 &3 +LightmapSettings: + m_ObjectHideFlags: 0 + serializedVersion: 13 + m_BakeOnSceneLoad: 0 + m_GISettings: + serializedVersion: 2 + m_BounceScale: 1 + m_IndirectOutputScale: 1 + m_AlbedoBoost: 1 + m_EnvironmentLightingMode: 0 + m_EnableBakedLightmaps: 1 + m_EnableRealtimeLightmaps: 0 + m_LightmapEditorSettings: + serializedVersion: 12 + m_Resolution: 2 + m_BakeResolution: 40 + m_AtlasSize: 1024 + m_AO: 0 + m_AOMaxDistance: 1 + m_CompAOExponent: 1 + m_CompAOExponentDirect: 0 + m_ExtractAmbientOcclusion: 0 + m_Padding: 2 + m_LightmapParameters: {fileID: 0} + m_LightmapsBakeMode: 1 + m_TextureCompression: 1 + m_ReflectionCompression: 2 + m_MixedBakeMode: 2 + m_BakeBackend: 1 + m_PVRSampling: 1 + m_PVRDirectSampleCount: 32 + m_PVRSampleCount: 512 + m_PVRBounces: 2 + m_PVREnvironmentSampleCount: 256 + m_PVREnvironmentReferencePointCount: 2048 + m_PVRFilteringMode: 1 + m_PVRDenoiserTypeDirect: 1 + m_PVRDenoiserTypeIndirect: 1 + m_PVRDenoiserTypeAO: 1 + m_PVRFilterTypeDirect: 0 + m_PVRFilterTypeIndirect: 0 + m_PVRFilterTypeAO: 0 + m_PVREnvironmentMIS: 1 + m_PVRCulling: 1 + m_PVRFilteringGaussRadiusDirect: 1 + m_PVRFilteringGaussRadiusIndirect: 5 + m_PVRFilteringGaussRadiusAO: 2 + m_PVRFilteringAtrousPositionSigmaDirect: 0.5 + m_PVRFilteringAtrousPositionSigmaIndirect: 2 + m_PVRFilteringAtrousPositionSigmaAO: 1 + m_ExportTrainingData: 0 + m_TrainingDataDestination: TrainingData + m_LightProbeSampleCountMultiplier: 4 + m_LightingDataAsset: {fileID: 20201, guid: 0000000000000000f000000000000000, type: 0} + m_LightingSettings: {fileID: 0} +--- !u!196 &4 +NavMeshSettings: + serializedVersion: 2 + m_ObjectHideFlags: 0 + m_BuildSettings: + serializedVersion: 3 + agentTypeID: 0 + agentRadius: 0.5 + agentHeight: 2 + agentSlope: 45 + agentClimb: 0.4 + ledgeDropHeight: 0 + maxJumpAcrossDistance: 0 + minRegionArea: 2 + manualCellSize: 0 + cellSize: 0.16666667 + manualTileSize: 0 + tileSize: 256 + buildHeightMesh: 0 + maxJobWorkers: 0 + preserveTilesOutsideBounds: 0 + debug: + m_Flags: 0 + m_NavMeshData: {fileID: 0} +--- !u!1 &60958141 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 60958143} + - component: {fileID: 60958145} + - component: {fileID: 60958146} + m_Layer: 0 + m_Name: SceneScope + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &60958143 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 60958141} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &60958145 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 60958141} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5312032623c34414a54ea00e35a7eb8e, type: 3} + m_Name: + m_EditorClassIdentifier: Reflex::Reflex.Core.ContainerScope +--- !u!114 &60958146 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 60958141} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 0aa23aea61d74467889be39a550c9922, type: 3} + m_Name: + m_EditorClassIdentifier: Assembly-CSharp::Code.Example.Platformer.PlatformerSceneInstaller +--- !u!1660057539 &9223372036854775807 +SceneRoots: + m_ObjectHideFlags: 0 + m_Roots: + - {fileID: 60958143} diff --git a/Assets/Resources_moved/Example/Platformer/Platformer.unity.meta b/Assets/Resources_moved/Example/Platformer/PlatformerDependency.unity.meta similarity index 100% rename from Assets/Resources_moved/Example/Platformer/Platformer.unity.meta rename to Assets/Resources_moved/Example/Platformer/PlatformerDependency.unity.meta diff --git a/Assets/Resources_moved/Example/Platformer/Skybox.mat b/Assets/Resources_moved/Example/Platformer/Skybox.mat new file mode 100644 index 0000000..5c04619 --- /dev/null +++ b/Assets/Resources_moved/Example/Platformer/Skybox.mat @@ -0,0 +1,174 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &-4791110892299021313 +MonoBehaviour: + m_ObjectHideFlags: 11 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3} + m_Name: + m_EditorClassIdentifier: Unity.RenderPipelines.Universal.Editor::UnityEditor.Rendering.Universal.AssetVersion + version: 10 +--- !u!21 &2100000 +Material: + serializedVersion: 8 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: Skybox + m_Shader: {fileID: 103, guid: 0000000000000000f000000000000000, type: 0} + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: [] + m_InvalidKeywords: + - _SUNDISK_NONE + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: -1 + stringTagMap: {} + disabledShaderPasses: + - MOTIONVECTORS + m_LockedProperties: + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _BackTex: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _BaseMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _BumpMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailAlbedoMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMask: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DownTex: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _FrontTex: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _LeftTex: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MainTex: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MetallicGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _OcclusionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ParallaxMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _RightTex: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SpecGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _Tex: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _UpTex: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_Lightmaps: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_LightmapsInd: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_ShadowMasks: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: [] + m_Floats: + - _AddPrecomputedVelocity: 0 + - _AlphaClip: 0 + - _AlphaToMask: 0 + - _AtmosphereThickness: 1 + - _Blend: 0 + - _BlendModePreserveSpecular: 1 + - _BumpScale: 1 + - _ClearCoatMask: 0 + - _ClearCoatSmoothness: 0 + - _Cull: 2 + - _Cutoff: 0.5 + - _DetailAlbedoMapScale: 1 + - _DetailNormalMapScale: 1 + - _DstBlend: 0 + - _DstBlendAlpha: 0 + - _EnvironmentReflections: 1 + - _Exposure: 1 + - _GlossMapScale: 0 + - _Glossiness: 0 + - _GlossyReflections: 0 + - _Metallic: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.005 + - _QueueOffset: 0 + - _ReceiveShadows: 1 + - _Rotation: 0 + - _Smoothness: 0.5 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _SrcBlendAlpha: 1 + - _SunDisk: 0 + - _SunSize: 0 + - _SunSizeConvergence: 5 + - _Surface: 0 + - _WorkflowMode: 1 + - _XRMotionVectorsPass: 1 + - _ZWrite: 1 + m_Colors: + - _BaseColor: {r: 1, g: 1, b: 1, a: 1} + - _Color: {r: 1, g: 1, b: 1, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} + - _GroundColor: {r: 0.5568628, g: 0.7568628, b: 0.7568628, a: 1} + - _SkyTint: {r: 0.5568628, g: 0.7568628, b: 0.7607844, a: 1} + - _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1} + - _Tint: {r: 0.56078434, g: 0.7607844, b: 0.76470596, a: 1} + m_BuildTextureStacks: [] + m_AllowLocking: 1 diff --git a/Assets/Resources_moved/Example/Platformer/Skybox.mat.meta b/Assets/Resources_moved/Example/Platformer/Skybox.mat.meta new file mode 100644 index 0000000..2472ad5 --- /dev/null +++ b/Assets/Resources_moved/Example/Platformer/Skybox.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 4491ad9e8126bb64ca15554645db7082 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/UnityCodeGen.Generated/ConfigLocator.Generated.cs b/Assets/UnityCodeGen.Generated/ConfigLocator.Generated.cs index 07317ac..aa922cd 100644 --- a/Assets/UnityCodeGen.Generated/ConfigLocator.Generated.cs +++ b/Assets/UnityCodeGen.Generated/ConfigLocator.Generated.cs @@ -1,15 +1,15 @@ #pragma warning disable CS0105 - using Code.Infrastructure.Audio; -using Code.Example.Platformer.Entity; + using Code.Example.Platformer.Entity; +using Code.Infrastructure.Audio; using Code.Infrastructure.Volume; using Code.Infrastructure.Camera; using Code.Infrastructure.UI; using Code.Example.Race.Racer; using Code.Infrastructure.Configs; using Code.Infrastructure.Audio; -using Code.Infrastructure.Audio; using Code.Example.Platformer.Entity; +using Code.Infrastructure.Audio; using Code.Infrastructure.UI; using Code.Infrastructure.SceneLoader; using Code.Infrastructure.Camera; @@ -27,10 +27,10 @@ using Code.Infrastructure.Input; { SystemConfigsReferences systemConfigsReferences = Resources.Load("SystemConfigsReferences"); - _multipleConfigReferences.Add(typeof(Code.Infrastructure.Audio.AudioInfoConfig), systemConfigsReferences.AudioInfo); - _multipleConfigReferences.Add(typeof(Code.Example.Platformer.Entity.PlatformerEntitySettingsConfig), systemConfigsReferences.PlatformerEntitySettings); + _multipleConfigReferences.Add(typeof(Code.Infrastructure.Audio.AudioInfoConfig), systemConfigsReferences.AudioInfo); + _multipleConfigReferences.Add(typeof(Code.Infrastructure.Volume.VolumeSettingsConfig), systemConfigsReferences.VolumeSettings); _singleConfigReferences.Add(typeof(Code.Infrastructure.Camera.GameCameraConfig), systemConfigsReferences.GameCamera); @@ -43,10 +43,10 @@ using Code.Infrastructure.Input; _multipleConfigReferences.Add(typeof(Code.Infrastructure.Audio.AudioSourceSettingsConfig), systemConfigsReferences.AudioSourceSettings); - _singleConfigReferences.Add(typeof(Code.Infrastructure.Audio.AudioSourcePrefabConfig), systemConfigsReferences.AudioSourcePrefab); - _singleConfigReferences.Add(typeof(Code.Example.Platformer.Entity.PlatformerPlayerSettingsConfig), systemConfigsReferences.PlatformerPlayerSettings); + _singleConfigReferences.Add(typeof(Code.Infrastructure.Audio.AudioSourcePrefabConfig), systemConfigsReferences.AudioSourcePrefab); + _singleConfigReferences.Add(typeof(Code.Infrastructure.UI.CanvasSettingsConfig), systemConfigsReferences.CanvasSettings); _multipleConfigReferences.Add(typeof(Code.Infrastructure.SceneLoader.SceneInfoConfig), systemConfigsReferences.SceneInfo); diff --git a/Assets/UnityCodeGen.Generated/SceneLoader.Generated.cs b/Assets/UnityCodeGen.Generated/SceneLoader.Generated.cs index 57f7dd6..48faf99 100644 --- a/Assets/UnityCodeGen.Generated/SceneLoader.Generated.cs +++ b/Assets/UnityCodeGen.Generated/SceneLoader.Generated.cs @@ -22,6 +22,12 @@ partial void SetupScenesInfo(){ _scenesActions.Add(SceneId.Platformer,() => _eventBus.RaiseEvent(h=> h.OnPlatformerSceneLoaded())); + + _scenesActions.Add(SceneId.Platformer2,() => _eventBus.RaiseEvent(h=> h.OnPlatformer2SceneLoaded())); + + + _scenesActions.Add(SceneId.Platformer3,() => _eventBus.RaiseEvent(h=> h.OnPlatformer3SceneLoaded())); + } } @@ -49,4 +55,16 @@ partial void SetupScenesInfo(){ void OnPlatformerSceneInitialized(Reflex.Core.Container container); // Until its fixed } + public interface IOnPlatformer2SceneLoadedHandler : IGlobalSubscriber + { + void OnPlatformer2SceneLoaded(); + void OnPlatformer2SceneInitialized(Reflex.Core.Container container); // Until its fixed + } + + public interface IOnPlatformer3SceneLoadedHandler : IGlobalSubscriber + { + void OnPlatformer3SceneLoaded(); + void OnPlatformer3SceneInitialized(Reflex.Core.Container container); // Until its fixed + } + } diff --git a/Assets/UnityCodeGen.Generated/SystemConfigsReferences.Generated.cs b/Assets/UnityCodeGen.Generated/SystemConfigsReferences.Generated.cs index 37d4ef8..9437295 100644 --- a/Assets/UnityCodeGen.Generated/SystemConfigsReferences.Generated.cs +++ b/Assets/UnityCodeGen.Generated/SystemConfigsReferences.Generated.cs @@ -1,15 +1,15 @@ #pragma warning disable CS0105 - using Code.Infrastructure.Audio; -using Code.Example.Platformer.Entity; + using Code.Example.Platformer.Entity; +using Code.Infrastructure.Audio; using Code.Infrastructure.Volume; using Code.Infrastructure.Camera; using Code.Infrastructure.UI; using Code.Example.Race.Racer; using Code.Infrastructure.Configs; using Code.Infrastructure.Audio; -using Code.Infrastructure.Audio; using Code.Example.Platformer.Entity; +using Code.Infrastructure.Audio; using Code.Infrastructure.UI; using Code.Infrastructure.SceneLoader; using Code.Infrastructure.Camera; @@ -21,16 +21,16 @@ using Code.Infrastructure.Input; namespace Code.Infrastructure.Configs{ public partial class SystemConfigsReferences { - public string AudioInfo; -public string PlatformerEntitySettings; + public string PlatformerEntitySettings; +public string AudioInfo; public string VolumeSettings; public AssetReference GameCamera; public string UIPanelSettings; public string RacerSettings; public string LayerMasksConfig; public string AudioSourceSettings; -public AssetReference AudioSourcePrefab; public AssetReference PlatformerPlayerSettings; +public AssetReference AudioSourcePrefab; public AssetReference CanvasSettings; public string SceneInfo; public string CameraSettings; diff --git a/Assets/_Recovery.meta b/Assets/_Recovery.meta new file mode 100644 index 0000000..177a619 --- /dev/null +++ b/Assets/_Recovery.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: c42cc72c973515a42871b121e0731236 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/_Recovery/0.unity b/Assets/_Recovery/0.unity new file mode 100644 index 0000000..6919e5c --- /dev/null +++ b/Assets/_Recovery/0.unity @@ -0,0 +1,183 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!29 &1 +OcclusionCullingSettings: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_OcclusionBakeSettings: + smallestOccluder: 5 + smallestHole: 0.25 + backfaceThreshold: 100 + m_SceneGUID: 00000000000000000000000000000000 + m_OcclusionCullingData: {fileID: 0} +--- !u!104 &2 +RenderSettings: + m_ObjectHideFlags: 0 + serializedVersion: 10 + m_Fog: 0 + m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} + m_FogMode: 3 + m_FogDensity: 0.01 + m_LinearFogStart: 0 + m_LinearFogEnd: 300 + m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1} + m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} + m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} + m_AmbientIntensity: 1 + m_AmbientMode: 0 + m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} + m_SkyboxMaterial: {fileID: 0} + m_HaloStrength: 0.5 + m_FlareStrength: 1 + m_FlareFadeSpeed: 3 + m_HaloTexture: {fileID: 0} + m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} + m_DefaultReflectionMode: 0 + m_DefaultReflectionResolution: 128 + m_ReflectionBounces: 1 + m_ReflectionIntensity: 1 + m_CustomReflection: {fileID: 0} + m_Sun: {fileID: 0} + m_UseRadianceAmbientProbe: 0 +--- !u!157 &3 +LightmapSettings: + m_ObjectHideFlags: 0 + serializedVersion: 13 + m_BakeOnSceneLoad: 0 + m_GISettings: + serializedVersion: 2 + m_BounceScale: 1 + m_IndirectOutputScale: 1 + m_AlbedoBoost: 1 + m_EnvironmentLightingMode: 0 + m_EnableBakedLightmaps: 1 + m_EnableRealtimeLightmaps: 0 + m_LightmapEditorSettings: + serializedVersion: 12 + m_Resolution: 2 + m_BakeResolution: 40 + m_AtlasSize: 1024 + m_AO: 0 + m_AOMaxDistance: 1 + m_CompAOExponent: 1 + m_CompAOExponentDirect: 0 + m_ExtractAmbientOcclusion: 0 + m_Padding: 2 + m_LightmapParameters: {fileID: 0} + m_LightmapsBakeMode: 1 + m_TextureCompression: 1 + m_ReflectionCompression: 2 + m_MixedBakeMode: 2 + m_BakeBackend: 1 + m_PVRSampling: 1 + m_PVRDirectSampleCount: 32 + m_PVRSampleCount: 512 + m_PVRBounces: 2 + m_PVREnvironmentSampleCount: 256 + m_PVREnvironmentReferencePointCount: 2048 + m_PVRFilteringMode: 1 + m_PVRDenoiserTypeDirect: 1 + m_PVRDenoiserTypeIndirect: 1 + m_PVRDenoiserTypeAO: 1 + m_PVRFilterTypeDirect: 0 + m_PVRFilterTypeIndirect: 0 + m_PVRFilterTypeAO: 0 + m_PVREnvironmentMIS: 1 + m_PVRCulling: 1 + m_PVRFilteringGaussRadiusDirect: 1 + m_PVRFilteringGaussRadiusIndirect: 5 + m_PVRFilteringGaussRadiusAO: 2 + m_PVRFilteringAtrousPositionSigmaDirect: 0.5 + m_PVRFilteringAtrousPositionSigmaIndirect: 2 + m_PVRFilteringAtrousPositionSigmaAO: 1 + m_ExportTrainingData: 0 + m_TrainingDataDestination: TrainingData + m_LightProbeSampleCountMultiplier: 4 + m_LightingDataAsset: {fileID: 20201, guid: 0000000000000000f000000000000000, type: 0} + m_LightingSettings: {fileID: 0} +--- !u!196 &4 +NavMeshSettings: + serializedVersion: 2 + m_ObjectHideFlags: 0 + m_BuildSettings: + serializedVersion: 3 + agentTypeID: 0 + agentRadius: 0.5 + agentHeight: 2 + agentSlope: 45 + agentClimb: 0.4 + ledgeDropHeight: 0 + maxJumpAcrossDistance: 0 + minRegionArea: 2 + manualCellSize: 0 + cellSize: 0.16666667 + manualTileSize: 0 + tileSize: 256 + buildHeightMesh: 0 + maxJobWorkers: 0 + preserveTilesOutsideBounds: 0 + debug: + m_Flags: 0 + m_NavMeshData: {fileID: 0} +--- !u!1 &60958141 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 60958143} + - component: {fileID: 60958144} + - component: {fileID: 60958145} + m_Layer: 0 + m_Name: SceneScope + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &60958143 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 60958141} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &60958144 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 60958141} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 067978788f51445ca3af5381eafec386, type: 3} + m_Name: + m_EditorClassIdentifier: Assembly-CSharp::Code.Infrastructure.App.SceneInstallers.MainMenuSceneInstaller +--- !u!114 &60958145 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 60958141} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5312032623c34414a54ea00e35a7eb8e, type: 3} + m_Name: + m_EditorClassIdentifier: Reflex::Reflex.Core.ContainerScope +--- !u!1660057539 &9223372036854775807 +SceneRoots: + m_ObjectHideFlags: 0 + m_Roots: + - {fileID: 60958143} diff --git a/Assets/_Recovery/0.unity.meta b/Assets/_Recovery/0.unity.meta new file mode 100644 index 0000000..7128269 --- /dev/null +++ b/Assets/_Recovery/0.unity.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: ee99c137098dcbe40bdb2ae9a6008931 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: