浏览代码

Merge branch 'main' of https://github.com/UnityTechnologies/LoadyDungeons into Lune-Blocking

# Conflicts:
#	Assets/Scenes/Level_Blocking.unity
/AdsTesting
felinearts 4 年前
当前提交
fc6e06c9
共有 28 个文件被更改,包括 1169 次插入455 次删除
  1. 2
      Assets/AddressableAssetsData/AddressableAssetSettings.asset
  2. 6
      Assets/AddressableAssetsData/AssetGroups/Level 00.asset
  3. 6
      Assets/AddressableAssetsData/Windows/addressables_content_state.bin
  4. 4
      Assets/Art/Key.fbx.meta
  5. 40
      Assets/Prefabs/GameplayCanvas.prefab
  6. 200
      Assets/Prefabs/Player.prefab
  7. 964
      Assets/Scenes/Level_00.unity
  8. 2
      Assets/Scenes/Level_00.unity.meta
  9. 32
      Assets/Scripts/GameManager.cs
  10. 5
      ProjectSettings/EditorBuildSettings.asset
  11. 3
      ProjectSettings/GraphicsSettings.asset
  12. 2
      ProjectSettings/UnityConnectSettings.asset
  13. 8
      Assets/Models.meta
  14. 8
      Assets/Prefabs/Accessories.meta
  15. 18
      Assets/Scripts/GameplayUI.cs
  16. 11
      Assets/Scripts/GameplayUI.cs.meta
  17. 8
      Assets/Textures.meta
  18. 41
      Assets/AddressableAssetsData/AssetGroups/Schemas/Swords_BundledAssetGroupSchema.asset
  19. 8
      Assets/AddressableAssetsData/AssetGroups/Schemas/Swords_BundledAssetGroupSchema.asset.meta
  20. 16
      Assets/AddressableAssetsData/AssetGroups/Schemas/Swords_ContentUpdateGroupSchema.asset
  21. 8
      Assets/AddressableAssetsData/AssetGroups/Schemas/Swords_ContentUpdateGroupSchema.asset.meta
  22. 25
      Assets/AddressableAssetsData/AssetGroups/Swords.asset
  23. 8
      Assets/AddressableAssetsData/AssetGroups/Swords.asset.meta
  24. 192
      Assets/Scenes/Bootstrap.unity
  25. 7
      Assets/Scenes/Bootstrap.unity.meta

2
Assets/AddressableAssetsData/AddressableAssetSettings.asset


m_BuildRemoteCatalog: 0
m_BundleLocalCatalog: 0
m_DisableCatalogUpdateOnStart: 0
m_IgnoreUnsupportedFilesInBuild: 0
m_UniqueBundleIds: 0
m_maxConcurrentWebRequests: 500
m_ContiguousBundles: 0

m_GroupAssets:
- {fileID: 11400000, guid: d24f858948dc291438a038da81a078f1, type: 2}
- {fileID: 11400000, guid: e12218f65150c634eb656f9d6e346519, type: 2}
- {fileID: 11400000, guid: f37e016d7e6302144b09f361f1e7bd17, type: 2}
- {fileID: 11400000, guid: 48296570da7bb8d4ba488e16486e609a, type: 2}
- {fileID: 11400000, guid: eae437177954e7e4b9cff065460e7f94, type: 2}
- {fileID: 11400000, guid: 19ba1b756f6b5934c8630d510169c7ed, type: 2}

6
Assets/AddressableAssetsData/AssetGroups/Level 00.asset


m_SerializedData: []
m_GUID: 4875299219626c7489a9a29ffb2b37fb
m_SerializeEntries:
- m_GUID: cf9fba69f5abb014d95888fae97c0637
- m_GUID: 7554b18db3b335b4da1ca6ff65374ac9
m_MainAsset: {fileID: 102900000, guid: cf9fba69f5abb014d95888fae97c0637, type: 3}
m_TargetAsset: {fileID: 102900000, guid: cf9fba69f5abb014d95888fae97c0637, type: 3}
m_MainAsset: {fileID: 102900000, guid: 7554b18db3b335b4da1ca6ff65374ac9, type: 3}
m_TargetAsset: {fileID: 102900000, guid: 7554b18db3b335b4da1ca6ff65374ac9, type: 3}
m_ReadOnly: 0
m_Settings: {fileID: 11400000, guid: 661d48ea9271a404cae43a9e2517e23a, type: 2}
m_SchemaSet:

6
Assets/AddressableAssetsData/Windows/addressables_content_state.bin


���� PUnity.Addressables.Editor, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null<UnityEditor.AddressableAssets.Build.AddressablesContentState playerVersion editorVersion cachedInfosremoteCatalogLoadPath cachedBundles6UnityEditor.AddressableAssets.Build.CachedAssetState[]7UnityEditor.AddressableAssets.Build.CachedBundleState[]2021.01.26.15.51.48 2019.4.18f1  4UnityEditor.AddressableAssets.Build.CachedAssetState5UnityEditor.AddressableAssets.Build.CachedBundleState 
LUnity.ResourceManager, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null5UnityEditor.AddressableAssets.Build.CachedBundleState bundleFileIddata�{UnityEngine.AddressableAssets.Addressables.RuntimePath}/StandaloneWindows64/level00_scenes_all_c510b3b00a24c8ec7b480761aee30c86.bundle  �{UnityEngine.AddressableAssets.Addressables.RuntimePath}/StandaloneWindows64/defaultlocalgroup_unitybuiltinshaders_740545d699460aedb46a2ad36c07f247.bundle 
�https://ceded976-9f8b-45f6-9555-266c5abf1251.client-api.unity3dusercontent.com/client_api/v1/buckets/1257381c-f1d6-4244-9d65-4ee28add3a01/release_by_badge/latest/entry_by_path/content/?path=/level01_scenes_all_a25fb6d6d524d8c0640c825e0f4295c3.bundle  �https://ceded976-9f8b-45f6-9555-266c5abf1251.client-api.unity3dusercontent.com/client_api/v1/buckets/1257381c-f1d6-4244-9d65-4ee28add3a01/release_by_badge/latest/entry_by_path/content/?path=/level02_scenes_all_cea8cf2524459bad32082539043ddddd.bundle  �https://ceded976-9f8b-45f6-9555-266c5abf1251.client-api.unity3dusercontent.com/client_api/v1/buckets/1257381c-f1d6-4244-9d65-4ee28add3a01/release_by_badge/latest/entry_by_path/content/?path=/level03_scenes_all_f7c50fd455df2bf6fd16206c0ebddef4.bundle JUnityEngine.ResourceManagement.ResourceProviders.AssetBundleRequestOptions m_Hashm_Crc m_Timeoutm_ChunkedTransferm_RedirectLimit m_RetryCount m_BundleName m_BundleSizem_UseCrcForCachedBundles   c510b3b00a24c8ec7b480761aee30c86ם 7���� 8bc9ccc0bf8e7edbe77d06ad272bc704�� 740545d699460aedb46a2ad36c07f247<�=E����44ca2663bd9edfc2fbd445508e464f8dc_unitybuiltinshaders a25fb6d6d524d8c0640c825e0f4295c3gp����� 58a4cec6769f25c3fa5664e447db4be6�� cea8cf2524459bad32082539043ddddd ����� 559ba29a65f96ca16a67ec5e513da006�� f7c50fd455df2bf6fd16206c0ebddef4�˰y����! fd1daf39a086bc73490bd5b4b2002c56��
���� PUnity.Addressables.Editor, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null<UnityEditor.AddressableAssets.Build.AddressablesContentState playerVersion editorVersion cachedInfosremoteCatalogLoadPath cachedBundles6UnityEditor.AddressableAssets.Build.CachedAssetState[]7UnityEditor.AddressableAssets.Build.CachedBundleState[]2021.02.11.23.43.49 2019.4.18f1  4UnityEditor.AddressableAssets.Build.CachedAssetState5UnityEditor.AddressableAssets.Build.CachedBundleState 
 LUnity.ResourceManager, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null5UnityEditor.AddressableAssets.Build.CachedBundleState bundleFileIddata�{UnityEngine.AddressableAssets.Addressables.RuntimePath}/StandaloneWindows64/defaultlocalgroup_scenes_all_e03df14a9e8b5885c1d9be1202c83b3e.bundle  �{UnityEngine.AddressableAssets.Addressables.RuntimePath}/StandaloneWindows64/hats_assets_all_62696b1ad7a0175c52e893303466f9d3.bundle 
�{UnityEngine.AddressableAssets.Addressables.RuntimePath}/StandaloneWindows64/defaultlocalgroup_unitybuiltinshaders_e1984920d865c792729bfa603b50ccc1.bundle  �{UnityEngine.AddressableAssets.Addressables.RuntimePath}/StandaloneWindows64/level00_scenes_all_139ec5a4fe1e69c0df523e74fdaa5568.bundle  �https://ceded976-9f8b-45f6-9555-266c5abf1251.client-api.unity3dusercontent.com/client_api/v1/buckets/1257381c-f1d6-4244-9d65-4ee28add3a01/release_by_badge/latest/entry_by_path/content/?path=/level01_scenes_all_74c4cfcbae87416e51184f0cb9279e4b.bundle  �https://ceded976-9f8b-45f6-9555-266c5abf1251.client-api.unity3dusercontent.com/client_api/v1/buckets/1257381c-f1d6-4244-9d65-4ee28add3a01/release_by_badge/latest/entry_by_path/content/?path=/level02_scenes_all_1f4db0bb591c6c1d841a7b775436985e.bundle �https://ceded976-9f8b-45f6-9555-266c5abf1251.client-api.unity3dusercontent.com/client_api/v1/buckets/1257381c-f1d6-4244-9d65-4ee28add3a01/release_by_badge/latest/entry_by_path/content/?path=/level03_scenes_all_aed60c472d623c023efab4cf4f3ab469.bundle JUnityEngine.ResourceManagement.ResourceProviders.AssetBundleRequestOptions m_Hashm_Crc m_Timeoutm_ChunkedTransferm_RedirectLimit m_RetryCount m_BundleName m_BundleSizem_UseCrcForCachedBundles  e03df14a9e8b5885c1d9be1202c83b3e�h�X���� a51ca88ae68e8c1a0ef32ed277b33aa8u� 62696b1ad7a0175c52e893303466f9d3Xz`����! 64f011d74e88f182d7216d359809f055K" e1984920d865c792729bfa603b50ccc1��u�����#44ca2663bd9edfc2fbd445508e464f8dc_unitybuiltinshaders:$ 139ec5a4fe1e69c0df523e74fdaa5568}�������% 54ff3eacd04bc0a414b28fa9c098ea55���& 74c4cfcbae87416e51184f0cb9279e4b�U����' 58a4cec6769f25c3fa5664e447db4be6��v( 1f4db0bb591c6c1d841a7b775436985e�������) 559ba29a65f96ca16a67ec5e513da006��v* aed60c472d623c023efab4cf4f3ab469�;������+ fd1daf39a086bc73490bd5b4b2002c56��v

4
Assets/Art/Key.fbx.meta


isReadable: 0
meshes:
lODScreenPercentages: []
globalScale: 1
globalScale: 34
meshCompression: 0
addColliders: 0
useSRGBMaterialColor: 1

armStretch: 0.05
legStretch: 0.05
feetSpacing: 0
globalScale: 1
globalScale: 0.34
rootMotionBoneName:
hasTranslationDoF: 0
hasExtraRoot: 0

40
Assets/Prefabs/GameplayCanvas.prefab


m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
m_CallState: 0
--- !u!1 &7702242264122354708
GameObject:
m_ObjectHideFlags: 0

- component: {fileID: 7702242264122354711}
- component: {fileID: 7702242264122354710}
- component: {fileID: 7702242264122354709}
- component: {fileID: 8629169230329452818}
m_Layer: 5
m_Name: GameplayCanvas
m_TagString: Untagged

m_Children:
- {fileID: 7702242263051669513}
- {fileID: 7702242263277782300}
- {fileID: 7702242264250632929}
- {fileID: 1193846096360146127}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}

m_BlockingMask:
serializedVersion: 2
m_Bits: 4294967295
--- !u!1 &7702242264250632934
--- !u!114 &8629169230329452818
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7702242264122354708}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 3499c2035b3e5e9418ca5bbe4d23d9da, type: 3}
m_Name:
m_EditorClassIdentifier:
m_ExitButton: {fileID: 7702242263277782301}
--- !u!1 &7877503227642946891
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}

m_Component:
- component: {fileID: 7702242264250632929}
- component: {fileID: 7702242264250632928}
- component: {fileID: 7702242264250632935}
- component: {fileID: 1193846096360146127}
- component: {fileID: 8302632133439103038}
- component: {fileID: 4417746175108458791}
m_Layer: 0
m_Name: EventSystem
m_TagString: Untagged

m_IsActive: 1
--- !u!4 &7702242264250632929
--- !u!4 &1193846096360146127
m_GameObject: {fileID: 7702242264250632934}
m_GameObject: {fileID: 7877503227642946891}
m_LocalPosition: {x: -374.5, y: -666, z: 0}
m_LocalPosition: {x: -339, y: -602.25, z: 0}
--- !u!114 &7702242264250632928
--- !u!114 &8302632133439103038
m_GameObject: {fileID: 7702242264250632934}
m_GameObject: {fileID: 7877503227642946891}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 76c392e42b5098c458856cdf6ecaaaa1, type: 3}

m_sendNavigationEvents: 1
m_DragThreshold: 10
--- !u!114 &7702242264250632935
--- !u!114 &4417746175108458791
m_GameObject: {fileID: 7702242264250632934}
m_GameObject: {fileID: 7877503227642946891}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 4f231c4fb786f3946a6b90b886c48677, type: 3}

200
Assets/Prefabs/Player.prefab


m_LocalPosition: {x: 0, y: 1, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 4494805130408427594}
- {fileID: 1713640702973489256}
- {fileID: 1946178409}
- {fileID: 1471007343316680505}
m_Father: {fileID: 0}

m_Name:
m_EditorClassIdentifier:
m_MovementSpeed: 10
--- !u!1 &4494805130408427599
GameObject:
--- !u!1001 &1171686176522753923
PrefabInstance:
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 4494805130408427594}
- component: {fileID: 4494805130408427595}
- component: {fileID: 4494805130408427596}
m_Layer: 0
m_Name: Capsule
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &4494805130408427594
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 4494805130079759893}
m_Modifications:
- target: {fileID: -8679921383154817045, guid: 9f5858cf2c3ec59428254c8fff5e9130,
type: 3}
propertyPath: m_RootOrder
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 9f5858cf2c3ec59428254c8fff5e9130,
type: 3}
propertyPath: m_LocalScale.x
value: 1
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 9f5858cf2c3ec59428254c8fff5e9130,
type: 3}
propertyPath: m_LocalScale.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 9f5858cf2c3ec59428254c8fff5e9130,
type: 3}
propertyPath: m_LocalScale.z
value: 1
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 9f5858cf2c3ec59428254c8fff5e9130,
type: 3}
propertyPath: m_LocalPosition.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 9f5858cf2c3ec59428254c8fff5e9130,
type: 3}
propertyPath: m_LocalPosition.y
value: -1
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 9f5858cf2c3ec59428254c8fff5e9130,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 9f5858cf2c3ec59428254c8fff5e9130,
type: 3}
propertyPath: m_LocalRotation.w
value: 0.7071068
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 9f5858cf2c3ec59428254c8fff5e9130,
type: 3}
propertyPath: m_LocalRotation.x
value: -0.7071068
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 9f5858cf2c3ec59428254c8fff5e9130,
type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 9f5858cf2c3ec59428254c8fff5e9130,
type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 9f5858cf2c3ec59428254c8fff5e9130,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: -90
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 9f5858cf2c3ec59428254c8fff5e9130,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 9f5858cf2c3ec59428254c8fff5e9130,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: -3887185075125053422, guid: 9f5858cf2c3ec59428254c8fff5e9130,
type: 3}
propertyPath: m_DirtyAABB
value: 0
objectReference: {fileID: 0}
- target: {fileID: -3887185075125053422, guid: 9f5858cf2c3ec59428254c8fff5e9130,
type: 3}
propertyPath: m_AABB.m_Center.y
value: 0.003808355
objectReference: {fileID: 0}
- target: {fileID: -3887185075125053422, guid: 9f5858cf2c3ec59428254c8fff5e9130,
type: 3}
propertyPath: m_AABB.m_Center.z
value: 0.026745316
objectReference: {fileID: 0}
- target: {fileID: -3887185075125053422, guid: 9f5858cf2c3ec59428254c8fff5e9130,
type: 3}
propertyPath: m_AABB.m_Extent.x
value: 0.019796345
objectReference: {fileID: 0}
- target: {fileID: -3887185075125053422, guid: 9f5858cf2c3ec59428254c8fff5e9130,
type: 3}
propertyPath: m_AABB.m_Extent.y
value: 0.022923071
objectReference: {fileID: 0}
- target: {fileID: -3887185075125053422, guid: 9f5858cf2c3ec59428254c8fff5e9130,
type: 3}
propertyPath: m_AABB.m_Extent.z
value: 0.027369604
objectReference: {fileID: 0}
- target: {fileID: -3887185075125053422, guid: 9f5858cf2c3ec59428254c8fff5e9130,
type: 3}
propertyPath: m_Materials.Array.data[0]
value:
objectReference: {fileID: 2100000, guid: 0c79e42f4ba71144697c3e0e3d43752e, type: 2}
- target: {fileID: 919132149155446097, guid: 9f5858cf2c3ec59428254c8fff5e9130,
type: 3}
propertyPath: m_Name
value: Dino
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 9f5858cf2c3ec59428254c8fff5e9130, type: 3}
--- !u!4 &1713640702973489256 stripped
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4494805130408427599}
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_Children: []
m_Father: {fileID: 4494805130079759893}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!33 &4494805130408427595
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_CorrespondingSourceObject: {fileID: -8679921383154817045, guid: 9f5858cf2c3ec59428254c8fff5e9130,
type: 3}
m_PrefabInstance: {fileID: 1171686176522753923}
m_GameObject: {fileID: 4494805130408427599}
m_Mesh: {fileID: 10208, guid: 0000000000000000e000000000000000, type: 0}
--- !u!23 &4494805130408427596
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4494805130408427599}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0}
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: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0

964
Assets/Scenes/Level_00.unity
文件差异内容过多而无法显示
查看文件

2
Assets/Scenes/Level_00.unity.meta


fileFormatVersion: 2
guid: cf9fba69f5abb014d95888fae97c0637
guid: 7554b18db3b335b4da1ca6ff65374ac9
DefaultImporter:
externalObjects: {}
userData:

32
Assets/Scripts/GameManager.cs


using UnityEngine;
using UnityEngine.AddressableAssets;
using UnityEngine.ResourceManagement.AsyncOperations;
using UnityEngine.ResourceManagement.ResourceProviders;
// The curre
public int m_MaxAvailableLevel = 0;
public static AsyncOperationHandle<SceneInstance> s_GameplaySceneHandle;
public static AsyncOperationHandle<SceneInstance> s_MainMenuSceneHandle;
public static AsyncOperationHandle<SceneInstance> s_LoadingSceneHandle;
private void Start()
{
//TODO: subscribe and release handle
//s_MainMenuSceneHandle = Addressables.LoadSceneAsync("MainMenu", UnityEngine.SceneManagement.LoadSceneMode.Additive, true);
}
public static int s_MaxAvailableLevel = 4;
//Addressables.LoadSceneAsync("MainMenu", UnityEngine.SceneManagement.LoadSceneMode.Single, true).Completed += OnLoadingSceneLoaded;
}
public static void LoadNextLevel()

/// <summary>
//TODO: Check we are not going beyond the max scene
// Just to make sure we don't try to go beyond the allowed number of levels.
s_CurrentLevel = s_CurrentLevel % s_MaxAvailableLevel;
}
public static void ExitGameplay()
{
//TODO: Or load the Loading scene here
//TODO: Replace string with label
Addressables.LoadSceneAsync("MainMenu", UnityEngine.SceneManagement.LoadSceneMode.Single, true);
}
}

5
ProjectSettings/EditorBuildSettings.asset


EditorBuildSettings:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Scenes: []
m_Scenes:
- enabled: 1
path: Assets/Scenes/MainMenu.unity
guid: 0394d87db3df9354f8b37fc762233e0d
m_configObjects:
com.unity.addressableassets: {fileID: 11400000, guid: e4260e4c45c4e15428f3736155b07e3f,
type: 2}

3
ProjectSettings/GraphicsSettings.asset


- {fileID: 15106, guid: 0000000000000000f000000000000000, type: 0}
- {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0}
- {fileID: 10770, guid: 0000000000000000f000000000000000, type: 0}
- {fileID: 16000, guid: 0000000000000000f000000000000000, type: 0}
- {fileID: 16001, guid: 0000000000000000f000000000000000, type: 0}
- {fileID: 17000, guid: 0000000000000000f000000000000000, type: 0}
m_PreloadedShaders: []
m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000,
type: 0}

2
ProjectSettings/UnityConnectSettings.asset


UnityConnectSettings:
m_ObjectHideFlags: 0
serializedVersion: 1
m_Enabled: 0
m_Enabled: 1
m_TestMode: 0
m_EventOldUrl: https://api.uca.cloud.unity3d.com/v1/events
m_EventUrl: https://cdp.cloud.unity3d.com/v1/events

8
Assets/Models.meta


fileFormatVersion: 2
guid: d2f52ab9965bbc7469c892487d04c9ba
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

8
Assets/Prefabs/Accessories.meta


fileFormatVersion: 2
guid: a1f44fbf8e54d3944abb8c4f2c92fc13
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

18
Assets/Scripts/GameplayUI.cs


using UnityEngine;
using UnityEngine.UI;
public class GameplayUI : MonoBehaviour
{
public Button m_ExitButton;
// Start is called before the first frame update
private void OnEnable()
{
m_ExitButton.onClick.AddListener(GameManager.ExitGameplay);
}
private void OnDisable()
{
m_ExitButton.onClick.RemoveListener(GameManager.ExitGameplay);
}
}

11
Assets/Scripts/GameplayUI.cs.meta


fileFormatVersion: 2
guid: 3499c2035b3e5e9418ca5bbe4d23d9da
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

8
Assets/Textures.meta


fileFormatVersion: 2
guid: b1de4d520800147419b06512f5c6fff9
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

41
Assets/AddressableAssetsData/AssetGroups/Schemas/Swords_BundledAssetGroupSchema.asset


%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: e5d17a21594effb4e9591490b009e7aa, type: 3}
m_Name: Swords_BundledAssetGroupSchema
m_EditorClassIdentifier:
m_Group: {fileID: 11400000, guid: f37e016d7e6302144b09f361f1e7bd17, type: 2}
m_Compression: 1
m_IncludeAddressInCatalog: 1
m_IncludeGUIDInCatalog: 1
m_IncludeLabelsInCatalog: 1
m_InternalIdNamingMode: 0
m_IncludeInBuild: 1
m_BundledAssetProviderType:
m_AssemblyName: Unity.ResourceManager, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
m_ClassName: UnityEngine.ResourceManagement.ResourceProviders.BundledAssetProvider
m_ForceUniqueProvider: 0
m_UseAssetBundleCache: 1
m_UseAssetBundleCrc: 1
m_UseAssetBundleCrcForCachedBundles: 1
m_Timeout: 0
m_ChunkedTransfer: 0
m_RedirectLimit: -1
m_RetryCount: 0
m_BuildPath:
m_Id: c152bb92211f3854baed928e47c45883
m_LoadPath:
m_Id: cbf5669a55f1c3a4da2e6b95df63fce9
m_BundleMode: 0
m_AssetBundleProviderType:
m_AssemblyName: Unity.ResourceManager, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
m_ClassName: UnityEngine.ResourceManagement.ResourceProviders.AssetBundleProvider
m_BundleNaming: 0

8
Assets/AddressableAssetsData/AssetGroups/Schemas/Swords_BundledAssetGroupSchema.asset.meta


fileFormatVersion: 2
guid: 5036d06e42da41549bb00fc9afa747f8
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 0
userData:
assetBundleName:
assetBundleVariant:

16
Assets/AddressableAssetsData/AssetGroups/Schemas/Swords_ContentUpdateGroupSchema.asset


%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: 5834b5087d578d24c926ce20cd31e6d6, type: 3}
m_Name: Swords_ContentUpdateGroupSchema
m_EditorClassIdentifier:
m_Group: {fileID: 11400000, guid: f37e016d7e6302144b09f361f1e7bd17, type: 2}
m_StaticContent: 0

8
Assets/AddressableAssetsData/AssetGroups/Schemas/Swords_ContentUpdateGroupSchema.asset.meta


fileFormatVersion: 2
guid: 5896648b887a5cb46b6c5eb724345f70
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 0
userData:
assetBundleName:
assetBundleVariant:

25
Assets/AddressableAssetsData/AssetGroups/Swords.asset


%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: bbb281ee3bf0b054c82ac2347e9e782c, type: 3}
m_Name: Swords
m_EditorClassIdentifier:
m_GroupName: Swords
m_Data:
m_SerializedData: []
m_GUID: acb7e8b15609ac645a28daa9422b57b4
m_SerializeEntries: []
m_ReadOnly: 0
m_Settings: {fileID: 11400000, guid: 661d48ea9271a404cae43a9e2517e23a, type: 2}
m_SchemaSet:
m_Schemas:
- {fileID: 11400000, guid: 5036d06e42da41549bb00fc9afa747f8, type: 2}
- {fileID: 11400000, guid: 5896648b887a5cb46b6c5eb724345f70, type: 2}

8
Assets/AddressableAssetsData/AssetGroups/Swords.asset.meta


fileFormatVersion: 2
guid: f37e016d7e6302144b09f361f1e7bd17
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 0
userData:
assetBundleName:
assetBundleVariant:

192
Assets/Scenes/Bootstrap.unity


%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: 9
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: 10304, guid: 0000000000000000f000000000000000, type: 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_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1}
m_UseRadianceAmbientProbe: 0
--- !u!157 &3
LightmapSettings:
m_ObjectHideFlags: 0
serializedVersion: 11
m_GIWorkflowMode: 1
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_FinalGather: 0
m_FinalGatherFiltering: 1
m_FinalGatherRayCount: 256
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: 0}
m_UseShadowmask: 1
--- !u!196 &4
NavMeshSettings:
serializedVersion: 2
m_ObjectHideFlags: 0
m_BuildSettings:
serializedVersion: 2
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
accuratePlacement: 0
debug:
m_Flags: 0
m_NavMeshData: {fileID: 0}
--- !u!1001 &1874710524
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 7356380717090622123, guid: d8e9e493da0735346a9e17cf1b363eab,
type: 3}
propertyPath: m_RootOrder
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7356380717090622123, guid: d8e9e493da0735346a9e17cf1b363eab,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7356380717090622123, guid: d8e9e493da0735346a9e17cf1b363eab,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7356380717090622123, guid: d8e9e493da0735346a9e17cf1b363eab,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7356380717090622123, guid: d8e9e493da0735346a9e17cf1b363eab,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 7356380717090622123, guid: d8e9e493da0735346a9e17cf1b363eab,
type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7356380717090622123, guid: d8e9e493da0735346a9e17cf1b363eab,
type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7356380717090622123, guid: d8e9e493da0735346a9e17cf1b363eab,
type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7356380717090622123, guid: d8e9e493da0735346a9e17cf1b363eab,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7356380717090622123, guid: d8e9e493da0735346a9e17cf1b363eab,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7356380717090622123, guid: d8e9e493da0735346a9e17cf1b363eab,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7356380717090622125, guid: d8e9e493da0735346a9e17cf1b363eab,
type: 3}
propertyPath: m_Name
value: GameManager
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: d8e9e493da0735346a9e17cf1b363eab, type: 3}

7
Assets/Scenes/Bootstrap.unity.meta


fileFormatVersion: 2
guid: 53c12bb6be8617f48893c94bdd01382e
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

部分文件因为文件数量过多而无法显示

正在加载...
取消
保存