├── ProjectSettings
├── ProjectVersion.txt
├── ClusterInputManager.asset
├── NetworkManager.asset
├── XRSettings.asset
├── TimeManager.asset
├── VFXManager.asset
├── EditorBuildSettings.asset
├── AudioManager.asset
├── TagManager.asset
├── EditorSettings.asset
├── PresetManager.asset
├── UnityConnectSettings.asset
├── DynamicsManager.asset
├── Physics2DSettings.asset
├── NavMeshAreas.asset
├── GraphicsSettings.asset
├── QualitySettings.asset
├── InputManager.asset
└── ProjectSettings.asset
├── Assets
├── AddressableAssetsData
│ ├── Windows
│ │ ├── addressables_content_state.bin
│ │ └── addressables_content_state.bin.meta
│ ├── Windows.meta
│ ├── AnalyzeData.meta
│ ├── AssetGroups.meta
│ ├── DataBuilders.meta
│ ├── AssetGroupTemplates.meta
│ ├── AssetGroups
│ │ ├── Schemas.meta
│ │ ├── Built In Data.asset.meta
│ │ ├── Packed Assets.asset.meta
│ │ ├── Default Local Group.asset.meta
│ │ ├── Packed Assets.asset
│ │ ├── Built In Data.asset
│ │ └── Default Local Group.asset
│ ├── DefaultObject.asset.meta
│ ├── AnalyzeData
│ │ ├── AnalyzeRuleData.asset.meta
│ │ └── AnalyzeRuleData.asset
│ ├── AddressableAssetSettings.asset.meta
│ ├── DataBuilders
│ │ ├── BuildScriptFastMode.asset.meta
│ │ ├── BuildScriptPackedMode.asset.meta
│ │ ├── BuildScriptVirtualMode.asset.meta
│ │ ├── BuildScriptPackedPlayMode.asset.meta
│ │ ├── BuildScriptFastMode.asset
│ │ ├── BuildScriptPackedMode.asset
│ │ ├── BuildScriptVirtualMode.asset
│ │ └── BuildScriptPackedPlayMode.asset
│ ├── AssetGroupTemplates
│ │ ├── Packed Assets.asset.meta
│ │ └── Packed Assets.asset
│ ├── DefaultObject.asset
│ └── AddressableAssetSettings.asset
├── AddressablesManager
│ ├── Scenes
│ │ ├── Test.unity.meta
│ │ ├── SceneTest.unity.meta
│ │ ├── SceneTest.unity
│ │ └── Test.unity
│ ├── Prefabs.meta
│ ├── Prefabs
│ │ ├── TestObject.prefab.meta
│ │ ├── TestSphere.prefab.meta
│ │ ├── TestObject.prefab
│ │ └── TestSphere.prefab
│ ├── Scenes.meta
│ ├── Scripts.meta
│ ├── Materials.meta
│ ├── Scripts
│ │ ├── Addressables.meta
│ │ ├── Extensions.meta
│ │ ├── Addressables
│ │ │ ├── Examples.meta
│ │ │ ├── AddressablesManager.cs.meta
│ │ │ ├── Examples
│ │ │ │ ├── AddressablesExample.cs.meta
│ │ │ │ └── AddressablesExample.cs
│ │ │ └── AddressablesManager.cs
│ │ └── Extensions
│ │ │ ├── IAsyncOperationExtensions.cs.meta
│ │ │ └── IAsyncOperationExtensions.cs
│ └── Materials
│ │ ├── Test1.mat.meta
│ │ ├── Test2.mat.meta
│ │ ├── Standard.mat.meta
│ │ ├── Test1.mat
│ │ ├── Test2.mat
│ │ └── Standard.mat
├── AddressableAssetsData.meta
└── AddressablesManager.meta
├── .gitignore
├── Packages
└── manifest.json
├── Logs
└── Packages-Update.log
└── README.md
/ProjectSettings/ProjectVersion.txt:
--------------------------------------------------------------------------------
1 | m_EditorVersion: 2019.3.0b12
2 | m_EditorVersionWithRevision: 2019.3.0b12 (e0f9cf1b1aee)
3 |
--------------------------------------------------------------------------------
/ProjectSettings/ClusterInputManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!236 &1
4 | ClusterInputManager:
5 | m_ObjectHideFlags: 0
6 | m_Inputs: []
7 |
--------------------------------------------------------------------------------
/Assets/AddressableAssetsData/Windows/addressables_content_state.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Milfeulle/AddressablesManager/HEAD/Assets/AddressableAssetsData/Windows/addressables_content_state.bin
--------------------------------------------------------------------------------
/ProjectSettings/NetworkManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!149 &1
4 | NetworkManager:
5 | m_ObjectHideFlags: 0
6 | m_DebugLevel: 0
7 | m_Sendrate: 15
8 | m_AssetToPrefab: {}
9 |
--------------------------------------------------------------------------------
/Assets/AddressablesManager/Scenes/Test.unity.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 1c93381225956be4289efb9045faed9d
3 | DefaultImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/Assets/AddressableAssetsData.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: c1a434ed20df3f64d96bef2a098e130c
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/AddressablesManager.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 2a7f02b3c28163942bd0f8fd5936d2f0
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/AddressablesManager/Scenes/SceneTest.unity.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: f8ca0df254141c7428e9f9f0a254040e
3 | DefaultImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/ProjectSettings/XRSettings.asset:
--------------------------------------------------------------------------------
1 | {
2 | "m_SettingKeys": [
3 | "VR Device Disabled",
4 | "VR Device User Alert"
5 | ],
6 | "m_SettingValues": [
7 | "False",
8 | "False"
9 | ]
10 | }
--------------------------------------------------------------------------------
/Assets/AddressablesManager/Prefabs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 9499cdf67f34bab4b83db533852bb7c6
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/AddressablesManager/Prefabs/TestObject.prefab.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 4cca3c9a83480704589b5d435d5e72c5
3 | PrefabImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/Assets/AddressablesManager/Prefabs/TestSphere.prefab.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: eefe4b0611151704d9f75e91b40b5065
3 | PrefabImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/Assets/AddressablesManager/Scenes.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 62a108786de11254184b0c69ff956ecb
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/AddressablesManager/Scripts.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: cd8945eb1f227ce4d8812326ef619db9
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/AddressableAssetsData/Windows.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 1eeb4397780a0aa4b81eb7a817107817
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/AddressablesManager/Materials.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 4ca2c11872306bd4789001f1cb0ffaa3
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/AddressableAssetsData/AnalyzeData.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: c506639793000f645a57828b1c187392
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/AddressableAssetsData/AssetGroups.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 61fdb9d9f3e00c043be0bb202db60533
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/AddressableAssetsData/DataBuilders.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: c1217197431eb634b87b8257b1b5f178
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/AddressableAssetsData/AssetGroupTemplates.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: f75be7ccb85d6f449a17134a3a643dc4
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/AddressableAssetsData/AssetGroups/Schemas.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: bcd5b4cc63621d74c9d9452a450078dd
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/AddressableAssetsData/Windows/addressables_content_state.bin.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 89942aae7b02e604b80afa9740a97e95
3 | DefaultImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/Assets/AddressablesManager/Scripts/Addressables.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 4c78ea657a8152e49805964a075327f2
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/AddressablesManager/Scripts/Extensions.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: cab504aa55123844386a76bdad274045
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/AddressablesManager/Scripts/Addressables/Examples.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 76d0e772c53de7043add4505ff8801e6
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/AddressablesManager/Materials/Test1.mat.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 6461ef3599205694f86991ff5946ebb4
3 | NativeFormatImporter:
4 | externalObjects: {}
5 | mainObjectFileID: 2100000
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/AddressablesManager/Materials/Test2.mat.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 27d4788d1d122d64496592c282157ff3
3 | NativeFormatImporter:
4 | externalObjects: {}
5 | mainObjectFileID: 2100000
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/AddressableAssetsData/DefaultObject.asset.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: d02a7bd87a380b84fabf3a54d5b9564b
3 | NativeFormatImporter:
4 | externalObjects: {}
5 | mainObjectFileID: 11400000
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/AddressablesManager/Materials/Standard.mat.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 0b2d9e4a3b620b9459dde9b54ea6878e
3 | NativeFormatImporter:
4 | externalObjects: {}
5 | mainObjectFileID: 2100000
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/ProjectSettings/TimeManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!5 &1
4 | TimeManager:
5 | m_ObjectHideFlags: 0
6 | Fixed Timestep: 0.02
7 | Maximum Allowed Timestep: 0.1
8 | m_TimeScale: 1
9 | Maximum Particle Timestep: 0.03
10 |
--------------------------------------------------------------------------------
/Assets/AddressableAssetsData/AnalyzeData/AnalyzeRuleData.asset.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 71dd51d5973b74e45aad8b70e1063651
3 | NativeFormatImporter:
4 | externalObjects: {}
5 | mainObjectFileID: 0
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/AddressableAssetsData/AddressableAssetSettings.asset.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: a36d0d8b283e6614e9d9ca10ec2753a2
3 | NativeFormatImporter:
4 | externalObjects: {}
5 | mainObjectFileID: 11400000
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/AddressableAssetsData/AssetGroups/Built In Data.asset.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 070999b871470bd4b8e747d35cc6b328
3 | NativeFormatImporter:
4 | externalObjects: {}
5 | mainObjectFileID: 11400000
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/AddressableAssetsData/AssetGroups/Packed Assets.asset.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 092ece156c763bc4a81d9175733c8ccd
3 | NativeFormatImporter:
4 | externalObjects: {}
5 | mainObjectFileID: 11400000
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/AddressableAssetsData/AssetGroups/Default Local Group.asset.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 65399f457898a5b4599033c2253e10dd
3 | NativeFormatImporter:
4 | externalObjects: {}
5 | mainObjectFileID: 11400000
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/AddressableAssetsData/DataBuilders/BuildScriptFastMode.asset.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 92a8b16922724c04aab4fc697d020fbe
3 | NativeFormatImporter:
4 | externalObjects: {}
5 | mainObjectFileID: 11400000
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/AddressableAssetsData/AssetGroupTemplates/Packed Assets.asset.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: f94d9c8e71fd73f478fd4aa0152471cb
3 | NativeFormatImporter:
4 | externalObjects: {}
5 | mainObjectFileID: 11400000
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/AddressableAssetsData/DataBuilders/BuildScriptPackedMode.asset.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 51460a20ddd7f094e91d04fea92db360
3 | NativeFormatImporter:
4 | externalObjects: {}
5 | mainObjectFileID: 11400000
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/AddressableAssetsData/DataBuilders/BuildScriptVirtualMode.asset.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 29bb6314dea545e4fa14b0924c4388f2
3 | NativeFormatImporter:
4 | externalObjects: {}
5 | mainObjectFileID: 11400000
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Assets/AddressableAssetsData/DataBuilders/BuildScriptPackedPlayMode.asset.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: ceefb45a8d7c94c4cbb1161f5cebe885
3 | NativeFormatImporter:
4 | externalObjects: {}
5 | mainObjectFileID: 11400000
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/ProjectSettings/VFXManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!937362698 &1
4 | VFXManager:
5 | m_ObjectHideFlags: 0
6 | m_IndirectShader: {fileID: 0}
7 | m_CopyBufferShader: {fileID: 0}
8 | m_SortShader: {fileID: 0}
9 | m_RenderPipeSettingsPath:
10 | m_FixedTimeStep: 0.016666668
11 | m_MaxDeltaTime: 0.05
12 |
--------------------------------------------------------------------------------
/Assets/AddressablesManager/Scripts/Addressables/AddressablesManager.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: bcf076e781e38f34ba06e50b6e395d24
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Assets/AddressablesManager/Scripts/Extensions/IAsyncOperationExtensions.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: c9b7436772dd9e14f8ac726702c6a5d1
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Assets/AddressablesManager/Scripts/Addressables/Examples/AddressablesExample.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 134a8550df76d3244b1a72986a99c089
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/ProjectSettings/EditorBuildSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!1045 &1
4 | EditorBuildSettings:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 2
7 | m_Scenes:
8 | - enabled: 0
9 | path:
10 | guid: 00000000000000000000000000000000
11 | m_configObjects:
12 | com.unity.addressableassets: {fileID: 11400000, guid: d02a7bd87a380b84fabf3a54d5b9564b,
13 | type: 2}
14 |
--------------------------------------------------------------------------------
/ProjectSettings/AudioManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!11 &1
4 | AudioManager:
5 | m_ObjectHideFlags: 0
6 | m_Volume: 1
7 | Rolloff Scale: 1
8 | Doppler Factor: 1
9 | Default Speaker Mode: 2
10 | m_SampleRate: 0
11 | m_DSPBufferSize: 1024
12 | m_VirtualVoiceCount: 512
13 | m_RealVoiceCount: 32
14 | m_SpatializerPlugin:
15 | m_AmbisonicDecoderPlugin:
16 | m_DisableAudio: 0
17 | m_VirtualizeEffects: 1
18 |
--------------------------------------------------------------------------------
/Assets/AddressableAssetsData/DefaultObject.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!114 &11400000
4 | MonoBehaviour:
5 | m_ObjectHideFlags: 0
6 | m_CorrespondingSourceObject: {fileID: 0}
7 | m_PrefabInstance: {fileID: 0}
8 | m_PrefabAsset: {fileID: 0}
9 | m_GameObject: {fileID: 0}
10 | m_Enabled: 1
11 | m_EditorHideFlags: 0
12 | m_Script: {fileID: 11500000, guid: 3a189bb168d8d90478a09ea08c2f3d72, type: 3}
13 | m_Name: DefaultObject
14 | m_EditorClassIdentifier:
15 | m_AddressableAssetSettingsGuid: a36d0d8b283e6614e9d9ca10ec2753a2
16 |
--------------------------------------------------------------------------------
/ProjectSettings/TagManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!78 &1
4 | TagManager:
5 | serializedVersion: 2
6 | tags: []
7 | layers:
8 | - Default
9 | - TransparentFX
10 | - Ignore Raycast
11 | -
12 | - Water
13 | - UI
14 | -
15 | -
16 | - PostProcessing
17 | -
18 | -
19 | -
20 | -
21 | -
22 | -
23 | -
24 | -
25 | -
26 | -
27 | -
28 | -
29 | -
30 | -
31 | -
32 | -
33 | -
34 | -
35 | -
36 | -
37 | -
38 | -
39 | -
40 | m_SortingLayers:
41 | - name: Default
42 | uniqueID: 0
43 | locked: 0
44 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | [Ll]ibrary/
2 | [Tt]emp/
3 | [Oo]bj/
4 | [Bb]uild/
5 | [Bb]uilds/
6 | Assets/AssetStoreTools*
7 | SwitchIL2CPPCache/
8 | SwitchIL2CPPStats/
9 | Assets/AddressableAssetsData/AssetGroups/Schemas
10 | Assets/StreamingAssets/
11 |
12 | # Visual Studio cache directory
13 | *.vs/
14 |
15 | # Autogenerated VS/MD/Consulo solution and project files
16 | ExportedObj/
17 | .consulo/
18 | *.csproj
19 | *.suo
20 | *.tmp
21 | *.user
22 | *.userprefs
23 | *.pidb
24 | *.booproj
25 | *.svd
26 | *.pdb
27 | *.sln
28 |
29 | # Unity3D generated meta files
30 | *.pidb.meta
31 | *.pdb.meta
32 |
33 | # Unity3D Generated File On Crash Reports
34 | sysinfo.txt
35 |
36 | # Builds
37 | *.apk
38 | *.unitypackage
--------------------------------------------------------------------------------
/ProjectSettings/EditorSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!159 &1
4 | EditorSettings:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 7
7 | m_ExternalVersionControlSupport: Visible Meta Files
8 | m_SerializationMode: 2
9 | m_LineEndingsForNewScripts: 2
10 | m_DefaultBehaviorMode: 0
11 | m_SpritePackerMode: 0
12 | m_SpritePackerPaddingPower: 1
13 | m_EtcTextureCompressorBehavior: 1
14 | m_EtcTextureFastCompressor: 1
15 | m_EtcTextureNormalCompressor: 2
16 | m_EtcTextureBestCompressor: 4
17 | m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd
18 | m_ProjectGenerationRootNamespace:
19 | m_UserGeneratedProjectSuffix:
20 | m_CollabEditorSettings:
21 | inProgressEnabled: 1
22 |
--------------------------------------------------------------------------------
/ProjectSettings/PresetManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!1386491679 &1
4 | PresetManager:
5 | m_ObjectHideFlags: 0
6 | m_DefaultList:
7 | - type:
8 | m_NativeTypeID: 108
9 | m_ManagedTypePPtr: {fileID: 0}
10 | m_ManagedTypeFallback:
11 | defaultPresets:
12 | - m_Preset: {fileID: 2655988077585873504, guid: c1cf8506f04ef2c4a88b64b6c4202eea,
13 | type: 2}
14 | - type:
15 | m_NativeTypeID: 1020
16 | m_ManagedTypePPtr: {fileID: 0}
17 | m_ManagedTypeFallback:
18 | defaultPresets:
19 | - m_Preset: {fileID: 2655988077585873504, guid: 0cd792cc87e492d43b4e95b205fc5cc6,
20 | type: 2}
21 | - type:
22 | m_NativeTypeID: 1006
23 | m_ManagedTypePPtr: {fileID: 0}
24 | m_ManagedTypeFallback:
25 | defaultPresets:
26 | - m_Preset: {fileID: 2655988077585873504, guid: 7a99f8aa944efe94cb9bd74562b7d5f9,
27 | type: 2}
28 |
--------------------------------------------------------------------------------
/Assets/AddressableAssetsData/DataBuilders/BuildScriptFastMode.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!114 &11400000
4 | MonoBehaviour:
5 | m_ObjectHideFlags: 0
6 | m_CorrespondingSourceObject: {fileID: 0}
7 | m_PrefabInstance: {fileID: 0}
8 | m_PrefabAsset: {fileID: 0}
9 | m_GameObject: {fileID: 0}
10 | m_Enabled: 1
11 | m_EditorHideFlags: 0
12 | m_Script: {fileID: 11500000, guid: 88d21199f5d473f4db36845f2318f180, type: 3}
13 | m_Name: BuildScriptFastMode
14 | m_EditorClassIdentifier:
15 | instanceProviderType:
16 | m_AssemblyName: Unity.ResourceManager, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
17 | m_ClassName: UnityEngine.ResourceManagement.ResourceProviders.InstanceProvider
18 | sceneProviderType:
19 | m_AssemblyName: Unity.ResourceManager, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
20 | m_ClassName: UnityEngine.ResourceManagement.ResourceProviders.SceneProvider
21 |
--------------------------------------------------------------------------------
/Assets/AddressableAssetsData/DataBuilders/BuildScriptPackedMode.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!114 &11400000
4 | MonoBehaviour:
5 | m_ObjectHideFlags: 0
6 | m_CorrespondingSourceObject: {fileID: 0}
7 | m_PrefabInstance: {fileID: 0}
8 | m_PrefabAsset: {fileID: 0}
9 | m_GameObject: {fileID: 0}
10 | m_Enabled: 1
11 | m_EditorHideFlags: 0
12 | m_Script: {fileID: 11500000, guid: 3e2e0ffa088c91d41a086d0b8cb16bdc, type: 3}
13 | m_Name: BuildScriptPackedMode
14 | m_EditorClassIdentifier:
15 | instanceProviderType:
16 | m_AssemblyName: Unity.ResourceManager, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
17 | m_ClassName: UnityEngine.ResourceManagement.ResourceProviders.InstanceProvider
18 | sceneProviderType:
19 | m_AssemblyName: Unity.ResourceManager, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
20 | m_ClassName: UnityEngine.ResourceManagement.ResourceProviders.SceneProvider
21 |
--------------------------------------------------------------------------------
/Assets/AddressableAssetsData/DataBuilders/BuildScriptVirtualMode.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!114 &11400000
4 | MonoBehaviour:
5 | m_ObjectHideFlags: 0
6 | m_CorrespondingSourceObject: {fileID: 0}
7 | m_PrefabInstance: {fileID: 0}
8 | m_PrefabAsset: {fileID: 0}
9 | m_GameObject: {fileID: 0}
10 | m_Enabled: 1
11 | m_EditorHideFlags: 0
12 | m_Script: {fileID: 11500000, guid: bb0e4994b34add1409fd8ccaf4a82de5, type: 3}
13 | m_Name: BuildScriptVirtualMode
14 | m_EditorClassIdentifier:
15 | instanceProviderType:
16 | m_AssemblyName: Unity.ResourceManager, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
17 | m_ClassName: UnityEngine.ResourceManagement.ResourceProviders.InstanceProvider
18 | sceneProviderType:
19 | m_AssemblyName: Unity.ResourceManager, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
20 | m_ClassName: UnityEngine.ResourceManagement.ResourceProviders.SceneProvider
21 |
--------------------------------------------------------------------------------
/Assets/AddressableAssetsData/DataBuilders/BuildScriptPackedPlayMode.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!114 &11400000
4 | MonoBehaviour:
5 | m_ObjectHideFlags: 0
6 | m_CorrespondingSourceObject: {fileID: 0}
7 | m_PrefabInstance: {fileID: 0}
8 | m_PrefabAsset: {fileID: 0}
9 | m_GameObject: {fileID: 0}
10 | m_Enabled: 1
11 | m_EditorHideFlags: 0
12 | m_Script: {fileID: 11500000, guid: ad8c280d42ee0ed41a27db23b43dd2bf, type: 3}
13 | m_Name: BuildScriptPackedPlayMode
14 | m_EditorClassIdentifier:
15 | instanceProviderType:
16 | m_AssemblyName: Unity.ResourceManager, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
17 | m_ClassName: UnityEngine.ResourceManagement.ResourceProviders.InstanceProvider
18 | sceneProviderType:
19 | m_AssemblyName: Unity.ResourceManager, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
20 | m_ClassName: UnityEngine.ResourceManagement.ResourceProviders.SceneProvider
21 |
--------------------------------------------------------------------------------
/Assets/AddressableAssetsData/AssetGroups/Packed Assets.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!114 &11400000
4 | MonoBehaviour:
5 | m_ObjectHideFlags: 0
6 | m_CorrespondingSourceObject: {fileID: 0}
7 | m_PrefabInstance: {fileID: 0}
8 | m_PrefabAsset: {fileID: 0}
9 | m_GameObject: {fileID: 0}
10 | m_Enabled: 1
11 | m_EditorHideFlags: 0
12 | m_Script: {fileID: 11500000, guid: bbb281ee3bf0b054c82ac2347e9e782c, type: 3}
13 | m_Name: Packed Assets
14 | m_EditorClassIdentifier:
15 | m_GroupName: Packed Assets
16 | m_Data:
17 | m_SerializedData: []
18 | m_GUID: 5a342e05d512df04e831b93c9774508a
19 | m_SerializeEntries: []
20 | m_ReadOnly: 0
21 | m_Settings: {fileID: 11400000, guid: a36d0d8b283e6614e9d9ca10ec2753a2, type: 2}
22 | m_SchemaSet:
23 | m_Schemas:
24 | - {fileID: 11400000, guid: b4f979cc92a7a6f4b8657b68790672b7, type: 2}
25 | - {fileID: 11400000, guid: c5bce16c59a55004ea32b3d3c644bdeb, type: 2}
26 |
--------------------------------------------------------------------------------
/ProjectSettings/UnityConnectSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!310 &1
4 | UnityConnectSettings:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 1
7 | m_Enabled: 0
8 | m_TestMode: 0
9 | m_EventOldUrl: https://api.uca.cloud.unity3d.com/v1/events
10 | m_EventUrl: https://cdp.cloud.unity3d.com/v1/events
11 | m_ConfigUrl: https://config.uca.cloud.unity3d.com
12 | m_TestInitMode: 0
13 | CrashReportingSettings:
14 | m_EventUrl: https://perf-events.cloud.unity3d.com
15 | m_Enabled: 0
16 | m_LogBufferSize: 10
17 | m_CaptureEditorExceptions: 1
18 | UnityPurchasingSettings:
19 | m_Enabled: 0
20 | m_TestMode: 0
21 | UnityAnalyticsSettings:
22 | m_Enabled: 0
23 | m_TestMode: 0
24 | m_InitializeOnStartup: 1
25 | UnityAdsSettings:
26 | m_Enabled: 0
27 | m_InitializeOnStartup: 1
28 | m_TestMode: 0
29 | m_IosGameId:
30 | m_AndroidGameId:
31 | m_GameIds: {}
32 | m_GameId:
33 | PerformanceReportingSettings:
34 | m_Enabled: 0
35 |
--------------------------------------------------------------------------------
/Assets/AddressableAssetsData/AssetGroups/Built In Data.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!114 &11400000
4 | MonoBehaviour:
5 | m_ObjectHideFlags: 0
6 | m_CorrespondingSourceObject: {fileID: 0}
7 | m_PrefabInstance: {fileID: 0}
8 | m_PrefabAsset: {fileID: 0}
9 | m_GameObject: {fileID: 0}
10 | m_Enabled: 1
11 | m_EditorHideFlags: 0
12 | m_Script: {fileID: 11500000, guid: bbb281ee3bf0b054c82ac2347e9e782c, type: 3}
13 | m_Name: Built In Data
14 | m_EditorClassIdentifier:
15 | m_GroupName: Built In Data
16 | m_Data:
17 | m_SerializedData: []
18 | m_GUID: 7acef678ec1e23f4cb497da8e1e0ccbc
19 | m_SerializeEntries:
20 | - m_GUID: EditorSceneList
21 | m_Address: EditorSceneList
22 | m_ReadOnly: 1
23 | m_SerializedLabels: []
24 | - m_GUID: Resources
25 | m_Address: Resources
26 | m_ReadOnly: 1
27 | m_SerializedLabels: []
28 | m_ReadOnly: 0
29 | m_Settings: {fileID: 11400000, guid: a36d0d8b283e6614e9d9ca10ec2753a2, type: 2}
30 | m_SchemaSet:
31 | m_Schemas:
32 | - {fileID: 11400000, guid: 9b31b12ba35de50459a3212751a6d430, type: 2}
33 |
--------------------------------------------------------------------------------
/ProjectSettings/DynamicsManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!55 &1
4 | PhysicsManager:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 8
7 | m_Gravity: {x: 0, y: -9.81, z: 0}
8 | m_DefaultMaterial: {fileID: 0}
9 | m_BounceThreshold: 2
10 | m_SleepThreshold: 0.005
11 | m_DefaultContactOffset: 0.01
12 | m_DefaultSolverIterations: 6
13 | m_DefaultSolverVelocityIterations: 1
14 | m_QueriesHitBackfaces: 0
15 | m_QueriesHitTriggers: 1
16 | m_EnableAdaptiveForce: 0
17 | m_ClothInterCollisionDistance: 0
18 | m_ClothInterCollisionStiffness: 0
19 | m_ContactsGeneration: 1
20 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
21 | m_AutoSimulation: 1
22 | m_AutoSyncTransforms: 0
23 | m_ReuseCollisionCallbacks: 1
24 | m_ClothInterCollisionSettingsToggle: 0
25 | m_ContactPairsMode: 0
26 | m_BroadphaseType: 0
27 | m_WorldBounds:
28 | m_Center: {x: 0, y: 0, z: 0}
29 | m_Extent: {x: 250, y: 250, z: 250}
30 | m_WorldSubdivisions: 8
31 |
--------------------------------------------------------------------------------
/Assets/AddressableAssetsData/AnalyzeData/AnalyzeRuleData.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!114 &11400000
4 | MonoBehaviour:
5 | m_ObjectHideFlags: 0
6 | m_CorrespondingSourceObject: {fileID: 0}
7 | m_PrefabInstance: {fileID: 0}
8 | m_PrefabAsset: {fileID: 0}
9 | m_GameObject: {fileID: 0}
10 | m_Enabled: 1
11 | m_EditorHideFlags: 0
12 | m_Script: {fileID: 11500000, guid: abc77607c2a62ef48b8f7dec55cc6d91, type: 3}
13 | m_Name: AnalyzeRuleData
14 | m_EditorClassIdentifier:
15 | m_RuleToResults:
16 | - RuleName: Check Duplicate Bundle Dependencies
17 | Results:
18 | - m_ResultName: No issues found
19 | m_Severity: 0
20 | - RuleName: Check Resources to Addressable Duplicate Dependencies
21 | Results:
22 | - m_ResultName: Check Resources to Addressable Duplicate Dependencies - No issues
23 | found.
24 | m_Severity: 0
25 | - RuleName: Check Scene to Addressable Duplicate Dependencies
26 | Results:
27 | - m_ResultName: Check Scene to Addressable Duplicate Dependencies - No issues
28 | found.
29 | m_Severity: 0
30 | - RuleName: Check Sprite Atlas to Addressable Duplicate Dependencies
31 | Results:
32 | - m_ResultName: No issues found
33 | m_Severity: 0
34 | - RuleName: Build Bundle Layout
35 | Results: []
36 | - RuleName: UnityEditor.AddressableAssets.Build.AnalyzeRules.AnalyzeRule
37 | Results: []
38 |
--------------------------------------------------------------------------------
/Assets/AddressableAssetsData/AssetGroups/Default Local Group.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!114 &11400000
4 | MonoBehaviour:
5 | m_ObjectHideFlags: 0
6 | m_CorrespondingSourceObject: {fileID: 0}
7 | m_PrefabInstance: {fileID: 0}
8 | m_PrefabAsset: {fileID: 0}
9 | m_GameObject: {fileID: 0}
10 | m_Enabled: 1
11 | m_EditorHideFlags: 0
12 | m_Script: {fileID: 11500000, guid: bbb281ee3bf0b054c82ac2347e9e782c, type: 3}
13 | m_Name: Default Local Group
14 | m_EditorClassIdentifier:
15 | m_GroupName: Default Local Group
16 | m_Data:
17 | m_SerializedData: []
18 | m_GUID: dd8a104a25facad40b051148432ecd84
19 | m_SerializeEntries:
20 | - m_GUID: 4cca3c9a83480704589b5d435d5e72c5
21 | m_Address: TestObject
22 | m_ReadOnly: 0
23 | m_SerializedLabels: []
24 | m_mainAssetType: UnityEngine.GameObject, UnityEngine.CoreModule, Version=0.0.0.0,
25 | Culture=neutral, PublicKeyToken=null
26 | - m_GUID: eefe4b0611151704d9f75e91b40b5065
27 | m_Address: TestSphere
28 | m_ReadOnly: 0
29 | m_SerializedLabels: []
30 | m_mainAssetType: UnityEngine.GameObject, UnityEngine.CoreModule, Version=0.0.0.0,
31 | Culture=neutral, PublicKeyToken=null
32 | m_ReadOnly: 0
33 | m_Settings: {fileID: 11400000, guid: a36d0d8b283e6614e9d9ca10ec2753a2, type: 2}
34 | m_SchemaSet:
35 | m_Schemas:
36 | - {fileID: 11400000, guid: 073f193860bb5044faf57dd6eb273155, type: 2}
37 | - {fileID: 11400000, guid: 6ae9e9e73e5a1d74d81aef2d1621d1e4, type: 2}
38 |
--------------------------------------------------------------------------------
/ProjectSettings/Physics2DSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!19 &1
4 | Physics2DSettings:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 4
7 | m_Gravity: {x: 0, y: -9.81}
8 | m_DefaultMaterial: {fileID: 0}
9 | m_VelocityIterations: 8
10 | m_PositionIterations: 3
11 | m_VelocityThreshold: 1
12 | m_MaxLinearCorrection: 0.2
13 | m_MaxAngularCorrection: 8
14 | m_MaxTranslationSpeed: 100
15 | m_MaxRotationSpeed: 360
16 | m_BaumgarteScale: 0.2
17 | m_BaumgarteTimeOfImpactScale: 0.75
18 | m_TimeToSleep: 0.5
19 | m_LinearSleepTolerance: 0.01
20 | m_AngularSleepTolerance: 2
21 | m_DefaultContactOffset: 0.01
22 | m_AutoSimulation: 1
23 | m_QueriesHitTriggers: 1
24 | m_QueriesStartInColliders: 1
25 | m_ChangeStopsCallbacks: 0
26 | m_CallbacksOnDisable: 1
27 | m_ReuseCollisionCallbacks: 1
28 | m_AutoSyncTransforms: 0
29 | m_AlwaysShowColliders: 0
30 | m_ShowColliderSleep: 1
31 | m_ShowColliderContacts: 0
32 | m_ShowColliderAABB: 0
33 | m_ContactArrowScale: 0.2
34 | m_ColliderAwakeColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.7529412}
35 | m_ColliderAsleepColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.36078432}
36 | m_ColliderContactColor: {r: 1, g: 0, b: 1, a: 0.6862745}
37 | m_ColliderAABBColor: {r: 1, g: 1, b: 0, a: 0.2509804}
38 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
39 |
--------------------------------------------------------------------------------
/ProjectSettings/NavMeshAreas.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!126 &1
4 | NavMeshProjectSettings:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 2
7 | areas:
8 | - name: Walkable
9 | cost: 1
10 | - name: Not Walkable
11 | cost: 1
12 | - name: Jump
13 | cost: 2
14 | - name:
15 | cost: 1
16 | - name:
17 | cost: 1
18 | - name:
19 | cost: 1
20 | - name:
21 | cost: 1
22 | - name:
23 | cost: 1
24 | - name:
25 | cost: 1
26 | - name:
27 | cost: 1
28 | - name:
29 | cost: 1
30 | - name:
31 | cost: 1
32 | - name:
33 | cost: 1
34 | - name:
35 | cost: 1
36 | - name:
37 | cost: 1
38 | - name:
39 | cost: 1
40 | - name:
41 | cost: 1
42 | - name:
43 | cost: 1
44 | - name:
45 | cost: 1
46 | - name:
47 | cost: 1
48 | - name:
49 | cost: 1
50 | - name:
51 | cost: 1
52 | - name:
53 | cost: 1
54 | - name:
55 | cost: 1
56 | - name:
57 | cost: 1
58 | - name:
59 | cost: 1
60 | - name:
61 | cost: 1
62 | - name:
63 | cost: 1
64 | - name:
65 | cost: 1
66 | - name:
67 | cost: 1
68 | - name:
69 | cost: 1
70 | - name:
71 | cost: 1
72 | m_LastAgentTypeID: -887442657
73 | m_Settings:
74 | - serializedVersion: 2
75 | agentTypeID: 0
76 | agentRadius: 0.5
77 | agentHeight: 2
78 | agentSlope: 45
79 | agentClimb: 0.75
80 | ledgeDropHeight: 0
81 | maxJumpAcrossDistance: 0
82 | minRegionArea: 2
83 | manualCellSize: 0
84 | cellSize: 0.16666667
85 | manualTileSize: 0
86 | tileSize: 256
87 | accuratePlacement: 0
88 | debug:
89 | m_Flags: 0
90 | m_SettingNames:
91 | - Humanoid
92 |
--------------------------------------------------------------------------------
/Assets/AddressablesManager/Scripts/Extensions/IAsyncOperationExtensions.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Runtime.CompilerServices;
3 | using UnityEngine.ResourceManagement.AsyncOperations;
4 |
5 | ///
6 | /// Script cleaned up and taken from https://forum.unity.com/threads/async-await-support-for-loading-assets.538898/
7 | ///
8 | public static class IAsyncOperationExtensions
9 | {
10 | public static AsyncOperationAwaiter GetAwaiter(this AsyncOperationHandle operation)
11 | {
12 | return new AsyncOperationAwaiter(operation);
13 | }
14 |
15 | public static AsyncOperationAwaiter GetAwaiter(this AsyncOperationHandle operation) where T : class
16 | {
17 | return new AsyncOperationAwaiter(operation);
18 | }
19 |
20 | public readonly struct AsyncOperationAwaiter : INotifyCompletion
21 | {
22 | readonly AsyncOperationHandle _operation;
23 |
24 | public AsyncOperationAwaiter(AsyncOperationHandle operation)
25 | {
26 | _operation = operation;
27 | }
28 |
29 | public bool IsCompleted => _operation.Status != AsyncOperationStatus.None;
30 |
31 | public void OnCompleted(Action continuation) => _operation.Completed += (op) => continuation?.Invoke();
32 |
33 | public object GetResult() => _operation.Result;
34 |
35 | }
36 |
37 | public readonly struct AsyncOperationAwaiter : INotifyCompletion where T : class
38 | {
39 | readonly AsyncOperationHandle _operation;
40 |
41 | public AsyncOperationAwaiter(AsyncOperationHandle operation)
42 | {
43 | _operation = operation;
44 | }
45 |
46 | public bool IsCompleted => _operation.Status != AsyncOperationStatus.None;
47 |
48 | public void OnCompleted(Action continuation) => _operation.Completed += (op) => continuation?.Invoke();
49 |
50 | public T GetResult() => _operation.Result;
51 | }
52 | }
--------------------------------------------------------------------------------
/Assets/AddressableAssetsData/AssetGroupTemplates/Packed Assets.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!114 &11400000
4 | MonoBehaviour:
5 | m_ObjectHideFlags: 0
6 | m_CorrespondingSourceObject: {fileID: 0}
7 | m_PrefabInstance: {fileID: 0}
8 | m_PrefabAsset: {fileID: 0}
9 | m_GameObject: {fileID: 0}
10 | m_Enabled: 1
11 | m_EditorHideFlags: 0
12 | m_Script: {fileID: 11500000, guid: 1a3c5d64ac83548c09dd1678b9f6f1cd, type: 3}
13 | m_Name: Packed Assets
14 | m_EditorClassIdentifier:
15 | m_SchemaObjects:
16 | - {fileID: 114928873448741572}
17 | - {fileID: 114336932433001096}
18 | m_Description: Pack assets into asset bundles.
19 | m_Settings: {fileID: 0}
20 | --- !u!114 &114336932433001096
21 | MonoBehaviour:
22 | m_ObjectHideFlags: 1
23 | m_CorrespondingSourceObject: {fileID: 0}
24 | m_PrefabInstance: {fileID: 0}
25 | m_PrefabAsset: {fileID: 0}
26 | m_GameObject: {fileID: 0}
27 | m_Enabled: 1
28 | m_EditorHideFlags: 0
29 | m_Script: {fileID: 11500000, guid: 5834b5087d578d24c926ce20cd31e6d6, type: 3}
30 | m_Name: ContentUpdateGroupSchema
31 | m_EditorClassIdentifier:
32 | m_Group: {fileID: 0}
33 | m_StaticContent: 0
34 | --- !u!114 &114928873448741572
35 | MonoBehaviour:
36 | m_ObjectHideFlags: 1
37 | m_CorrespondingSourceObject: {fileID: 0}
38 | m_PrefabInstance: {fileID: 0}
39 | m_PrefabAsset: {fileID: 0}
40 | m_GameObject: {fileID: 0}
41 | m_Enabled: 1
42 | m_EditorHideFlags: 0
43 | m_Script: {fileID: 11500000, guid: e5d17a21594effb4e9591490b009e7aa, type: 3}
44 | m_Name: BundledAssetGroupSchema
45 | m_EditorClassIdentifier:
46 | m_Group: {fileID: 0}
47 | m_Compression: 1
48 | m_IncludeInBuild: 1
49 | m_BundledAssetProviderType:
50 | m_AssemblyName:
51 | m_ClassName:
52 | m_ForceUniqueProvider: 0
53 | m_UseAssetBundleCache: 1
54 | m_UseAssetBundleCrc: 1
55 | m_Timeout: 0
56 | m_ChunkedTransfer: 0
57 | m_RedirectLimit: -1
58 | m_RetryCount: 0
59 | m_BuildPath:
60 | m_Id:
61 | m_LoadPath:
62 | m_Id:
63 | m_BundleMode: 0
64 | m_AssetBundleProviderType:
65 | m_AssemblyName:
66 | m_ClassName:
67 |
--------------------------------------------------------------------------------
/Packages/manifest.json:
--------------------------------------------------------------------------------
1 | {
2 | "dependencies": {
3 | "com.unity.2d.sprite": "1.0.0",
4 | "com.unity.2d.tilemap": "1.0.0",
5 | "com.unity.addressables": "1.6.2",
6 | "com.unity.ads": "2.3.1",
7 | "com.unity.analytics": "3.3.2",
8 | "com.unity.collab-proxy": "1.2.16",
9 | "com.unity.ide.rider": "1.1.0",
10 | "com.unity.ide.vscode": "1.1.2",
11 | "com.unity.multiplayer-hlapi": "1.0.4",
12 | "com.unity.purchasing": "2.0.6",
13 | "com.unity.test-framework": "1.1.3",
14 | "com.unity.textmeshpro": "2.0.1",
15 | "com.unity.timeline": "1.2.6",
16 | "com.unity.ugui": "1.0.0",
17 | "com.unity.xr.legacyinputhelpers": "1.3.8",
18 | "com.unity.modules.ai": "1.0.0",
19 | "com.unity.modules.androidjni": "1.0.0",
20 | "com.unity.modules.animation": "1.0.0",
21 | "com.unity.modules.assetbundle": "1.0.0",
22 | "com.unity.modules.audio": "1.0.0",
23 | "com.unity.modules.cloth": "1.0.0",
24 | "com.unity.modules.director": "1.0.0",
25 | "com.unity.modules.imageconversion": "1.0.0",
26 | "com.unity.modules.imgui": "1.0.0",
27 | "com.unity.modules.jsonserialize": "1.0.0",
28 | "com.unity.modules.particlesystem": "1.0.0",
29 | "com.unity.modules.physics": "1.0.0",
30 | "com.unity.modules.physics2d": "1.0.0",
31 | "com.unity.modules.screencapture": "1.0.0",
32 | "com.unity.modules.terrain": "1.0.0",
33 | "com.unity.modules.terrainphysics": "1.0.0",
34 | "com.unity.modules.tilemap": "1.0.0",
35 | "com.unity.modules.ui": "1.0.0",
36 | "com.unity.modules.uielements": "1.0.0",
37 | "com.unity.modules.umbra": "1.0.0",
38 | "com.unity.modules.unityanalytics": "1.0.0",
39 | "com.unity.modules.unitywebrequest": "1.0.0",
40 | "com.unity.modules.unitywebrequestassetbundle": "1.0.0",
41 | "com.unity.modules.unitywebrequestaudio": "1.0.0",
42 | "com.unity.modules.unitywebrequesttexture": "1.0.0",
43 | "com.unity.modules.unitywebrequestwww": "1.0.0",
44 | "com.unity.modules.vehicles": "1.0.0",
45 | "com.unity.modules.video": "1.0.0",
46 | "com.unity.modules.vr": "1.0.0",
47 | "com.unity.modules.wind": "1.0.0",
48 | "com.unity.modules.xr": "1.0.0"
49 | }
50 | }
51 |
--------------------------------------------------------------------------------
/Assets/AddressablesManager/Materials/Test1.mat:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!21 &2100000
4 | Material:
5 | serializedVersion: 6
6 | m_ObjectHideFlags: 0
7 | m_CorrespondingSourceObject: {fileID: 0}
8 | m_PrefabInstance: {fileID: 0}
9 | m_PrefabAsset: {fileID: 0}
10 | m_Name: Test1
11 | m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
12 | m_ShaderKeywords:
13 | m_LightmapFlags: 4
14 | m_EnableInstancingVariants: 0
15 | m_DoubleSidedGI: 0
16 | m_CustomRenderQueue: -1
17 | stringTagMap: {}
18 | disabledShaderPasses: []
19 | m_SavedProperties:
20 | serializedVersion: 3
21 | m_TexEnvs:
22 | - _BumpMap:
23 | m_Texture: {fileID: 0}
24 | m_Scale: {x: 1, y: 1}
25 | m_Offset: {x: 0, y: 0}
26 | - _DetailAlbedoMap:
27 | m_Texture: {fileID: 0}
28 | m_Scale: {x: 1, y: 1}
29 | m_Offset: {x: 0, y: 0}
30 | - _DetailMask:
31 | m_Texture: {fileID: 0}
32 | m_Scale: {x: 1, y: 1}
33 | m_Offset: {x: 0, y: 0}
34 | - _DetailNormalMap:
35 | m_Texture: {fileID: 0}
36 | m_Scale: {x: 1, y: 1}
37 | m_Offset: {x: 0, y: 0}
38 | - _EmissionMap:
39 | m_Texture: {fileID: 0}
40 | m_Scale: {x: 1, y: 1}
41 | m_Offset: {x: 0, y: 0}
42 | - _MainTex:
43 | m_Texture: {fileID: 0}
44 | m_Scale: {x: 1, y: 1}
45 | m_Offset: {x: 0, y: 0}
46 | - _MetallicGlossMap:
47 | m_Texture: {fileID: 0}
48 | m_Scale: {x: 1, y: 1}
49 | m_Offset: {x: 0, y: 0}
50 | - _OcclusionMap:
51 | m_Texture: {fileID: 0}
52 | m_Scale: {x: 1, y: 1}
53 | m_Offset: {x: 0, y: 0}
54 | - _ParallaxMap:
55 | m_Texture: {fileID: 0}
56 | m_Scale: {x: 1, y: 1}
57 | m_Offset: {x: 0, y: 0}
58 | m_Floats:
59 | - _BumpScale: 1
60 | - _Cutoff: 0.5
61 | - _DetailNormalMapScale: 1
62 | - _DstBlend: 0
63 | - _GlossMapScale: 1
64 | - _Glossiness: 0.5
65 | - _GlossyReflections: 1
66 | - _Metallic: 0
67 | - _Mode: 0
68 | - _OcclusionStrength: 1
69 | - _Parallax: 0.02
70 | - _SmoothnessTextureChannel: 0
71 | - _SpecularHighlights: 1
72 | - _SrcBlend: 1
73 | - _UVSec: 0
74 | - _ZWrite: 1
75 | m_Colors:
76 | - _Color: {r: 1, g: 1, b: 1, a: 1}
77 | - _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
78 |
--------------------------------------------------------------------------------
/Assets/AddressablesManager/Materials/Test2.mat:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!21 &2100000
4 | Material:
5 | serializedVersion: 6
6 | m_ObjectHideFlags: 0
7 | m_CorrespondingSourceObject: {fileID: 0}
8 | m_PrefabInstance: {fileID: 0}
9 | m_PrefabAsset: {fileID: 0}
10 | m_Name: Test2
11 | m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
12 | m_ShaderKeywords:
13 | m_LightmapFlags: 4
14 | m_EnableInstancingVariants: 0
15 | m_DoubleSidedGI: 0
16 | m_CustomRenderQueue: -1
17 | stringTagMap: {}
18 | disabledShaderPasses: []
19 | m_SavedProperties:
20 | serializedVersion: 3
21 | m_TexEnvs:
22 | - _BumpMap:
23 | m_Texture: {fileID: 0}
24 | m_Scale: {x: 1, y: 1}
25 | m_Offset: {x: 0, y: 0}
26 | - _DetailAlbedoMap:
27 | m_Texture: {fileID: 0}
28 | m_Scale: {x: 1, y: 1}
29 | m_Offset: {x: 0, y: 0}
30 | - _DetailMask:
31 | m_Texture: {fileID: 0}
32 | m_Scale: {x: 1, y: 1}
33 | m_Offset: {x: 0, y: 0}
34 | - _DetailNormalMap:
35 | m_Texture: {fileID: 0}
36 | m_Scale: {x: 1, y: 1}
37 | m_Offset: {x: 0, y: 0}
38 | - _EmissionMap:
39 | m_Texture: {fileID: 0}
40 | m_Scale: {x: 1, y: 1}
41 | m_Offset: {x: 0, y: 0}
42 | - _MainTex:
43 | m_Texture: {fileID: 0}
44 | m_Scale: {x: 1, y: 1}
45 | m_Offset: {x: 0, y: 0}
46 | - _MetallicGlossMap:
47 | m_Texture: {fileID: 0}
48 | m_Scale: {x: 1, y: 1}
49 | m_Offset: {x: 0, y: 0}
50 | - _OcclusionMap:
51 | m_Texture: {fileID: 0}
52 | m_Scale: {x: 1, y: 1}
53 | m_Offset: {x: 0, y: 0}
54 | - _ParallaxMap:
55 | m_Texture: {fileID: 0}
56 | m_Scale: {x: 1, y: 1}
57 | m_Offset: {x: 0, y: 0}
58 | m_Floats:
59 | - _BumpScale: 1
60 | - _Cutoff: 0.5
61 | - _DetailNormalMapScale: 1
62 | - _DstBlend: 0
63 | - _GlossMapScale: 1
64 | - _Glossiness: 0.5
65 | - _GlossyReflections: 1
66 | - _Metallic: 0
67 | - _Mode: 0
68 | - _OcclusionStrength: 1
69 | - _Parallax: 0.02
70 | - _SmoothnessTextureChannel: 0
71 | - _SpecularHighlights: 1
72 | - _SrcBlend: 1
73 | - _UVSec: 0
74 | - _ZWrite: 1
75 | m_Colors:
76 | - _Color: {r: 1, g: 1, b: 1, a: 1}
77 | - _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
78 |
--------------------------------------------------------------------------------
/Assets/AddressablesManager/Materials/Standard.mat:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!21 &2100000
4 | Material:
5 | serializedVersion: 6
6 | m_ObjectHideFlags: 0
7 | m_CorrespondingSourceObject: {fileID: 0}
8 | m_PrefabInstance: {fileID: 0}
9 | m_PrefabAsset: {fileID: 0}
10 | m_Name: Standard
11 | m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
12 | m_ShaderKeywords:
13 | m_LightmapFlags: 4
14 | m_EnableInstancingVariants: 0
15 | m_DoubleSidedGI: 0
16 | m_CustomRenderQueue: -1
17 | stringTagMap: {}
18 | disabledShaderPasses: []
19 | m_SavedProperties:
20 | serializedVersion: 3
21 | m_TexEnvs:
22 | - _BumpMap:
23 | m_Texture: {fileID: 0}
24 | m_Scale: {x: 1, y: 1}
25 | m_Offset: {x: 0, y: 0}
26 | - _DetailAlbedoMap:
27 | m_Texture: {fileID: 0}
28 | m_Scale: {x: 1, y: 1}
29 | m_Offset: {x: 0, y: 0}
30 | - _DetailMask:
31 | m_Texture: {fileID: 0}
32 | m_Scale: {x: 1, y: 1}
33 | m_Offset: {x: 0, y: 0}
34 | - _DetailNormalMap:
35 | m_Texture: {fileID: 0}
36 | m_Scale: {x: 1, y: 1}
37 | m_Offset: {x: 0, y: 0}
38 | - _EmissionMap:
39 | m_Texture: {fileID: 0}
40 | m_Scale: {x: 1, y: 1}
41 | m_Offset: {x: 0, y: 0}
42 | - _MainTex:
43 | m_Texture: {fileID: 0}
44 | m_Scale: {x: 1, y: 1}
45 | m_Offset: {x: 0, y: 0}
46 | - _MetallicGlossMap:
47 | m_Texture: {fileID: 0}
48 | m_Scale: {x: 1, y: 1}
49 | m_Offset: {x: 0, y: 0}
50 | - _OcclusionMap:
51 | m_Texture: {fileID: 0}
52 | m_Scale: {x: 1, y: 1}
53 | m_Offset: {x: 0, y: 0}
54 | - _ParallaxMap:
55 | m_Texture: {fileID: 0}
56 | m_Scale: {x: 1, y: 1}
57 | m_Offset: {x: 0, y: 0}
58 | m_Floats:
59 | - _BumpScale: 1
60 | - _Cutoff: 0.5
61 | - _DetailNormalMapScale: 1
62 | - _DstBlend: 0
63 | - _GlossMapScale: 1
64 | - _Glossiness: 0.5
65 | - _GlossyReflections: 1
66 | - _Metallic: 0
67 | - _Mode: 0
68 | - _OcclusionStrength: 1
69 | - _Parallax: 0.02
70 | - _SmoothnessTextureChannel: 0
71 | - _SpecularHighlights: 1
72 | - _SrcBlend: 1
73 | - _UVSec: 0
74 | - _ZWrite: 1
75 | m_Colors:
76 | - _Color: {r: 1, g: 1, b: 1, a: 1}
77 | - _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
78 |
--------------------------------------------------------------------------------
/Logs/Packages-Update.log:
--------------------------------------------------------------------------------
1 |
2 | === Thu Dec 27 17:38:53 2018
3 |
4 | Packages were changed.
5 | Update Mode: mergeDefaultDependencies
6 |
7 | The following packages were added:
8 | com.unity.analytics@3.2.2
9 | com.unity.purchasing@2.0.3
10 | com.unity.ads@2.3.1
11 | com.unity.textmeshpro@1.3.0
12 | com.unity.package-manager-ui@2.0.3
13 | com.unity.collab-proxy@1.2.15
14 | com.unity.modules.ai@1.0.0
15 | com.unity.modules.animation@1.0.0
16 | com.unity.modules.assetbundle@1.0.0
17 | com.unity.modules.audio@1.0.0
18 | com.unity.modules.cloth@1.0.0
19 | com.unity.modules.director@1.0.0
20 | com.unity.modules.imageconversion@1.0.0
21 | com.unity.modules.imgui@1.0.0
22 | com.unity.modules.jsonserialize@1.0.0
23 | com.unity.modules.particlesystem@1.0.0
24 | com.unity.modules.physics@1.0.0
25 | com.unity.modules.physics2d@1.0.0
26 | com.unity.modules.screencapture@1.0.0
27 | com.unity.modules.terrain@1.0.0
28 | com.unity.modules.terrainphysics@1.0.0
29 | com.unity.modules.tilemap@1.0.0
30 | com.unity.modules.ui@1.0.0
31 | com.unity.modules.uielements@1.0.0
32 | com.unity.modules.umbra@1.0.0
33 | com.unity.modules.unityanalytics@1.0.0
34 | com.unity.modules.unitywebrequest@1.0.0
35 | com.unity.modules.unitywebrequestassetbundle@1.0.0
36 | com.unity.modules.unitywebrequestaudio@1.0.0
37 | com.unity.modules.unitywebrequesttexture@1.0.0
38 | com.unity.modules.unitywebrequestwww@1.0.0
39 | com.unity.modules.vehicles@1.0.0
40 | com.unity.modules.video@1.0.0
41 | com.unity.modules.vr@1.0.0
42 | com.unity.modules.wind@1.0.0
43 | com.unity.modules.xr@1.0.0
44 |
45 | === Sun Mar 1 23:40:18 2020
46 |
47 | Packages were changed.
48 | Update Mode: updateDependencies
49 |
50 | The following packages were added:
51 | com.unity.2d.tilemap@1.0.0
52 | com.unity.test-framework@1.1.3
53 | com.unity.timeline@1.2.6
54 | com.unity.2d.sprite@1.0.0
55 | com.unity.ide.vscode@1.1.2
56 | com.unity.ide.rider@1.1.0
57 | com.unity.ugui@1.0.0
58 | com.unity.xr.legacyinputhelpers@1.3.8
59 | com.unity.modules.androidjni@1.0.0
60 | com.unity.multiplayer-hlapi@1.0.4
61 | The following packages were updated:
62 | com.unity.analytics from version 3.2.2 to 3.3.2
63 | com.unity.collab-proxy from version 1.2.15 to 1.2.16
64 | com.unity.purchasing from version 2.0.3 to 2.0.6
65 | com.unity.textmeshpro from version 1.3.0 to 2.0.1
66 | The following packages were removed:
67 | com.unity.package-manager-ui@2.0.3
68 |
--------------------------------------------------------------------------------
/ProjectSettings/GraphicsSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!30 &1
4 | GraphicsSettings:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 12
7 | m_Deferred:
8 | m_Mode: 1
9 | m_Shader: {fileID: 69, guid: 0000000000000000f000000000000000, type: 0}
10 | m_DeferredReflections:
11 | m_Mode: 1
12 | m_Shader: {fileID: 74, guid: 0000000000000000f000000000000000, type: 0}
13 | m_ScreenSpaceShadows:
14 | m_Mode: 1
15 | m_Shader: {fileID: 64, guid: 0000000000000000f000000000000000, type: 0}
16 | m_LegacyDeferred:
17 | m_Mode: 1
18 | m_Shader: {fileID: 63, guid: 0000000000000000f000000000000000, type: 0}
19 | m_DepthNormals:
20 | m_Mode: 1
21 | m_Shader: {fileID: 62, guid: 0000000000000000f000000000000000, type: 0}
22 | m_MotionVectors:
23 | m_Mode: 1
24 | m_Shader: {fileID: 75, guid: 0000000000000000f000000000000000, type: 0}
25 | m_LightHalo:
26 | m_Mode: 1
27 | m_Shader: {fileID: 105, guid: 0000000000000000f000000000000000, type: 0}
28 | m_LensFlare:
29 | m_Mode: 1
30 | m_Shader: {fileID: 102, guid: 0000000000000000f000000000000000, type: 0}
31 | m_AlwaysIncludedShaders:
32 | - {fileID: 7, guid: 0000000000000000f000000000000000, type: 0}
33 | - {fileID: 15104, guid: 0000000000000000f000000000000000, type: 0}
34 | - {fileID: 15105, guid: 0000000000000000f000000000000000, type: 0}
35 | - {fileID: 15106, guid: 0000000000000000f000000000000000, type: 0}
36 | - {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0}
37 | - {fileID: 10770, guid: 0000000000000000f000000000000000, type: 0}
38 | - {fileID: 10783, guid: 0000000000000000f000000000000000, type: 0}
39 | m_PreloadedShaders: []
40 | m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000,
41 | type: 0}
42 | m_CustomRenderPipeline: {fileID: 0}
43 | m_TransparencySortMode: 0
44 | m_TransparencySortAxis: {x: 0, y: 0, z: 1}
45 | m_DefaultRenderingPath: 1
46 | m_DefaultMobileRenderingPath: 1
47 | m_TierSettings: []
48 | m_LightmapStripping: 0
49 | m_FogStripping: 0
50 | m_InstancingStripping: 0
51 | m_LightmapKeepPlain: 1
52 | m_LightmapKeepDirCombined: 1
53 | m_LightmapKeepDynamicPlain: 1
54 | m_LightmapKeepDynamicDirCombined: 1
55 | m_LightmapKeepShadowMask: 1
56 | m_LightmapKeepSubtractive: 1
57 | m_FogKeepLinear: 1
58 | m_FogKeepExp: 1
59 | m_FogKeepExp2: 1
60 | m_AlbedoSwatchInfos: []
61 | m_LightsUseLinearIntensity: 0
62 | m_LightsUseColorTemperature: 0
63 |
--------------------------------------------------------------------------------
/Assets/AddressablesManager/Prefabs/TestObject.prefab:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!1 &570544429097108413
4 | GameObject:
5 | m_ObjectHideFlags: 0
6 | m_CorrespondingSourceObject: {fileID: 0}
7 | m_PrefabInstance: {fileID: 0}
8 | m_PrefabAsset: {fileID: 0}
9 | serializedVersion: 6
10 | m_Component:
11 | - component: {fileID: 8948450783187720172}
12 | - component: {fileID: 8246427383240892694}
13 | - component: {fileID: 7776660413289169669}
14 | m_Layer: 0
15 | m_Name: TestObject
16 | m_TagString: Untagged
17 | m_Icon: {fileID: 0}
18 | m_NavMeshLayer: 0
19 | m_StaticEditorFlags: 0
20 | m_IsActive: 1
21 | --- !u!4 &8948450783187720172
22 | Transform:
23 | m_ObjectHideFlags: 0
24 | m_CorrespondingSourceObject: {fileID: 0}
25 | m_PrefabInstance: {fileID: 0}
26 | m_PrefabAsset: {fileID: 0}
27 | m_GameObject: {fileID: 570544429097108413}
28 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
29 | m_LocalPosition: {x: 0, y: 0, z: 0}
30 | m_LocalScale: {x: 1, y: 1, z: 1}
31 | m_Children: []
32 | m_Father: {fileID: 0}
33 | m_RootOrder: 0
34 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
35 | --- !u!33 &8246427383240892694
36 | MeshFilter:
37 | m_ObjectHideFlags: 0
38 | m_CorrespondingSourceObject: {fileID: 0}
39 | m_PrefabInstance: {fileID: 0}
40 | m_PrefabAsset: {fileID: 0}
41 | m_GameObject: {fileID: 570544429097108413}
42 | m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0}
43 | --- !u!23 &7776660413289169669
44 | MeshRenderer:
45 | m_ObjectHideFlags: 0
46 | m_CorrespondingSourceObject: {fileID: 0}
47 | m_PrefabInstance: {fileID: 0}
48 | m_PrefabAsset: {fileID: 0}
49 | m_GameObject: {fileID: 570544429097108413}
50 | m_Enabled: 1
51 | m_CastShadows: 1
52 | m_ReceiveShadows: 1
53 | m_DynamicOccludee: 1
54 | m_MotionVectors: 1
55 | m_LightProbeUsage: 1
56 | m_ReflectionProbeUsage: 1
57 | m_RenderingLayerMask: 1
58 | m_RendererPriority: 0
59 | m_Materials:
60 | - {fileID: 2100000, guid: 0b2d9e4a3b620b9459dde9b54ea6878e, type: 2}
61 | m_StaticBatchInfo:
62 | firstSubMesh: 0
63 | subMeshCount: 0
64 | m_StaticBatchRoot: {fileID: 0}
65 | m_ProbeAnchor: {fileID: 0}
66 | m_LightProbeVolumeOverride: {fileID: 0}
67 | m_ScaleInLightmap: 1
68 | m_PreserveUVs: 0
69 | m_IgnoreNormalsForChartDetection: 0
70 | m_ImportantGI: 0
71 | m_StitchLightmapSeams: 0
72 | m_SelectedEditorRenderState: 3
73 | m_MinimumChartSize: 4
74 | m_AutoUVMaxDistance: 0.5
75 | m_AutoUVMaxAngle: 89
76 | m_LightmapParameters: {fileID: 0}
77 | m_SortingLayerID: 0
78 | m_SortingLayer: 0
79 | m_SortingOrder: 0
80 |
--------------------------------------------------------------------------------
/Assets/AddressablesManager/Scripts/Addressables/Examples/AddressablesExample.cs:
--------------------------------------------------------------------------------
1 | using System.Collections;
2 | using System.Collections.Generic;
3 | using UnityEngine;
4 | using UnityEngine.AddressableAssets;
5 | using System.Threading.Tasks;
6 | using UnityEngine.SceneManagement;
7 | using UnityEngine.ResourceManagement.ResourceProviders;
8 |
9 | namespace AddressablesManagement
10 | {
11 | public class AddressablesExample : MonoBehaviour
12 | {
13 | public GameObject loneGameObject;
14 | public GameObject[] testObjects = new GameObject[20];
15 | public List materials;
16 | public List listTest;
17 | Sprite sprite;
18 | Scene sceneToLoad;
19 | private Vector3 startingPos;
20 |
21 | void Start()
22 | {
23 | materials = new List(3);
24 |
25 | startingPos = transform.position;
26 |
27 | //LoadScene("SceneTest");
28 | //InstantiateSingleObject("TestObject");
29 | TestInstantiateObjects();
30 | //TestLoadByLabel();
31 | //LoadFromList(listTest);
32 | }
33 |
34 | async void TestLoadByLabel()
35 | {
36 | materials = await AddressablesManager.Instance.LoadAssetsByLabel("materials");
37 | }
38 |
39 | async void TestInstantiateObjects()
40 | {
41 | Vector3 pos = startingPos;
42 |
43 | for (int i = 0; i < testObjects.Length; i++)
44 | {
45 | testObjects[i] = await AddressablesManager.Instance.InstantiateGameObject("TestObject");
46 | testObjects[i].transform.position = pos;
47 | pos += new Vector3(2f, 0, 0);
48 | }
49 | }
50 |
51 | async void InstantiateSingleObject(string path)
52 | {
53 | loneGameObject = await AddressablesManager.Instance.InstantiateGameObject(path);
54 | }
55 |
56 | async void LoadSprite(string path)
57 | {
58 | sprite = await AddressablesManager.Instance.Load(path);
59 | }
60 |
61 | async void LoadScene(string sceneName)
62 | {
63 | sceneToLoad = await AddressablesManager.Instance.LoadScene(sceneName, LoadSceneMode.Single);
64 | }
65 |
66 | async void OnlyLoadScene(string sceneName)
67 | {
68 | await AddressablesManager.Instance.LoadScene(sceneName, LoadSceneMode.Additive);
69 | }
70 |
71 | async void UnloadScene(SceneInstance scene)
72 | {
73 | await AddressablesManager.Instance.UnloadScene(scene);
74 | }
75 |
76 | async void LoadFromList(List testList)
77 | {
78 | List GOs = await AddressablesManager.Instance.LoadFromList(testList);
79 |
80 | foreach (GameObject go in GOs)
81 | {
82 | Instantiate(go);
83 | }
84 | }
85 | }
86 | }
--------------------------------------------------------------------------------
/Assets/AddressablesManager/Prefabs/TestSphere.prefab:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!1 &623190349782299876
4 | GameObject:
5 | m_ObjectHideFlags: 0
6 | m_CorrespondingSourceObject: {fileID: 0}
7 | m_PrefabInstance: {fileID: 0}
8 | m_PrefabAsset: {fileID: 0}
9 | serializedVersion: 6
10 | m_Component:
11 | - component: {fileID: 6163204469831872798}
12 | - component: {fileID: 1608264546806447279}
13 | - component: {fileID: 906217663191395812}
14 | - component: {fileID: 6115845532350329579}
15 | m_Layer: 0
16 | m_Name: Sphere
17 | m_TagString: Untagged
18 | m_Icon: {fileID: 0}
19 | m_NavMeshLayer: 0
20 | m_StaticEditorFlags: 0
21 | m_IsActive: 1
22 | --- !u!4 &6163204469831872798
23 | Transform:
24 | m_ObjectHideFlags: 0
25 | m_CorrespondingSourceObject: {fileID: 0}
26 | m_PrefabInstance: {fileID: 0}
27 | m_PrefabAsset: {fileID: 0}
28 | m_GameObject: {fileID: 623190349782299876}
29 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
30 | m_LocalPosition: {x: 0, y: 0, z: 0}
31 | m_LocalScale: {x: 1, y: 1, z: 1}
32 | m_Children: []
33 | m_Father: {fileID: 0}
34 | m_RootOrder: 0
35 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
36 | --- !u!33 &1608264546806447279
37 | MeshFilter:
38 | m_ObjectHideFlags: 0
39 | m_CorrespondingSourceObject: {fileID: 0}
40 | m_PrefabInstance: {fileID: 0}
41 | m_PrefabAsset: {fileID: 0}
42 | m_GameObject: {fileID: 623190349782299876}
43 | m_Mesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0}
44 | --- !u!23 &906217663191395812
45 | MeshRenderer:
46 | m_ObjectHideFlags: 0
47 | m_CorrespondingSourceObject: {fileID: 0}
48 | m_PrefabInstance: {fileID: 0}
49 | m_PrefabAsset: {fileID: 0}
50 | m_GameObject: {fileID: 623190349782299876}
51 | m_Enabled: 1
52 | m_CastShadows: 1
53 | m_ReceiveShadows: 1
54 | m_DynamicOccludee: 1
55 | m_MotionVectors: 1
56 | m_LightProbeUsage: 1
57 | m_ReflectionProbeUsage: 1
58 | m_RayTracingMode: 2
59 | m_RenderingLayerMask: 1
60 | m_RendererPriority: 0
61 | m_Materials:
62 | - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0}
63 | m_StaticBatchInfo:
64 | firstSubMesh: 0
65 | subMeshCount: 0
66 | m_StaticBatchRoot: {fileID: 0}
67 | m_ProbeAnchor: {fileID: 0}
68 | m_LightProbeVolumeOverride: {fileID: 0}
69 | m_ScaleInLightmap: 1
70 | m_ReceiveGI: 1
71 | m_PreserveUVs: 0
72 | m_IgnoreNormalsForChartDetection: 0
73 | m_ImportantGI: 0
74 | m_StitchLightmapSeams: 1
75 | m_SelectedEditorRenderState: 3
76 | m_MinimumChartSize: 4
77 | m_AutoUVMaxDistance: 0.5
78 | m_AutoUVMaxAngle: 89
79 | m_LightmapParameters: {fileID: 0}
80 | m_SortingLayerID: 0
81 | m_SortingLayer: 0
82 | m_SortingOrder: 0
83 | --- !u!135 &6115845532350329579
84 | SphereCollider:
85 | m_ObjectHideFlags: 0
86 | m_CorrespondingSourceObject: {fileID: 0}
87 | m_PrefabInstance: {fileID: 0}
88 | m_PrefabAsset: {fileID: 0}
89 | m_GameObject: {fileID: 623190349782299876}
90 | m_Material: {fileID: 0}
91 | m_IsTrigger: 0
92 | m_Enabled: 1
93 | serializedVersion: 2
94 | m_Radius: 0.5
95 | m_Center: {x: 0, y: 0, z: 0}
96 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # AddressablesManager
2 | Tested with Addressables version 1.3.
3 |
4 | An unofficial intermediary for Unity's Addressables system. With this, you can load an asset without having to make use of a coroutine each time you need to use the Addressables system.
5 |
6 | For a quick guide on how to setup Addressables, check the [Getting Started guide](https://docs.google.com/document/d/1Qdrhi3NdTR_ub5e1NVjzvijCcVlR56e_zCro41KHfyM/edit#heading=h.zfo4zcp1lrzf) and the [forum post](https://forum.unity.com/threads/addressables-are-here.536304/)
7 |
8 | The [IAsyncOperationExtensions](https://github.com/Milfeulle/AddressablesManager/blob/master/Assets/AddressablesManager/Scripts/Extensions/IAsyncOperationExtensions.cs) file was created by Unity forum user [rigidbuddy](https://forum.unity.com/threads/async-await-support-for-loading-assets.538898/#post-3553571).
9 |
10 | # Async/Await
11 |
12 | This system needs to be prefaced with the fact that it uses async/await methods exclusively, what this basically means is that methods with the async modifier in front of them can "await" other asynchronous methods. You can find some examples [here](https://www.dotnetperls.com/async).
13 |
14 | # Usage
15 |
16 | To use the manager, you must declare your current method with the async modifier so that it can await the Addressables Manager's methods.
17 |
18 | ```c#
19 | async void GetAnInteger()
20 | {
21 | int x = await GetInt();
22 | }
23 | ```
24 |
25 | ## Instantiating a gameobject
26 |
27 | ```c#
28 | GameObject loneGameObject;
29 |
30 | async void InstantiateSingleObject(string path)
31 | {
32 | loneGameObject = await AddressablesManager.Instance.InstantiateGameObject(path);
33 | }
34 | ```
35 |
36 | ## Loading objects
37 |
38 | You can load any kind of object by using the Load method, you can then assign these objects somewhere else if you wish.
39 |
40 | ```c#
41 | Sprite _sprite;
42 |
43 | async void LoadSprite()
44 | {
45 | _sprite = await AddressablesManager.Instance.Load("sprite");
46 | }
47 | ```
48 |
49 | ## Loading assets by label
50 |
51 | You can load an array of assets using the labels they use in the Addressables system.
52 |
53 | ```c#
54 | List materials;
55 |
56 | async void TestLoadByLabel()
57 | {
58 | materials = await AddressablesManager.Instance.LoadAssetsByLabel("materials");
59 | }
60 | ```
61 |
62 | ## Loading a scene
63 |
64 | With loading scenes, you can choose whether to load them in either of the LoadSceneModes (Additive or Single) or whether to only load them or load them and assign them to a variable.
65 |
66 | ```c#
67 | Scene sceneToLoad;
68 |
69 | async void LoadScene()
70 | {
71 | sceneToLoad = await AddressablesManager.Instance.LoadScene("sceneName", LoadSceneMode.Additive);
72 | }
73 |
74 | async void OnlyLoadScene()
75 | {
76 | await AddressablesManager.Instance.LoadScene("sceneName", LoadSceneMode.Additive);
77 | }
78 | ```
79 |
80 | ## Unloading scenes
81 |
82 | You can unload scenes you hold a reference to.
83 |
84 | ```c#
85 | async void UnloadScene()
86 | {
87 | AddressablesManager.Instance.UnloadScene(sceneToLoad);
88 | }
89 | ```
90 |
--------------------------------------------------------------------------------
/Assets/AddressableAssetsData/AddressableAssetSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!114 &11400000
4 | MonoBehaviour:
5 | m_ObjectHideFlags: 0
6 | m_CorrespondingSourceObject: {fileID: 0}
7 | m_PrefabInstance: {fileID: 0}
8 | m_PrefabAsset: {fileID: 0}
9 | m_GameObject: {fileID: 0}
10 | m_Enabled: 1
11 | m_EditorHideFlags: 0
12 | m_Script: {fileID: 11500000, guid: 468a46d0ae32c3544b7d98094e6448a9, type: 3}
13 | m_Name: AddressableAssetSettings
14 | m_EditorClassIdentifier:
15 | m_DefaultGroup: dd8a104a25facad40b051148432ecd84
16 | m_BuildRemoteCatalog: 0
17 | m_DisableCatalogUpdateOnStart: 0
18 | m_UniqueBundleIds: 0
19 | m_RemoteCatalogBuildPath:
20 | m_Id:
21 | m_RemoteCatalogLoadPath:
22 | m_Id:
23 | m_overridePlayerVersion:
24 | m_GroupAssets:
25 | - {fileID: 11400000, guid: 070999b871470bd4b8e747d35cc6b328, type: 2}
26 | - {fileID: 11400000, guid: 65399f457898a5b4599033c2253e10dd, type: 2}
27 | - {fileID: 11400000, guid: 092ece156c763bc4a81d9175733c8ccd, type: 2}
28 | m_BuildSettings:
29 | m_CompileScriptsInVirtualMode: 0
30 | m_CleanupStreamingAssetsAfterBuilds: 1
31 | m_LogResourceManagerExceptions: 1
32 | m_BundleBuildPath: Temp/com.unity.addressables/AssetBundles
33 | m_ProfileSettings:
34 | m_Profiles:
35 | - m_InheritedParent:
36 | m_Id: fe88a8161ed56704f833a38d4582e271
37 | m_ProfileName: Default
38 | m_Values:
39 | - m_Id: ddeead917664796469d05b063de964d8
40 | m_Value: '[UnityEditor.EditorUserBuildSettings.activeBuildTarget]'
41 | - m_Id: d972d1e7c5b0d7c4e9786dddbd14b0b8
42 | m_Value: '[UnityEngine.AddressableAssets.Addressables.BuildPath]/[BuildTarget]'
43 | - m_Id: 1bcf0be94f641284dacd801669397ef3
44 | m_Value: '{UnityEngine.AddressableAssets.Addressables.RuntimePath}/[BuildTarget]'
45 | - m_Id: fdcee85a73bd1504cb386e85679eee31
46 | m_Value: ServerData/[BuildTarget]
47 | - m_Id: 3eb43c7d297d4cb4095cdc8646ab2fa9
48 | m_Value: http://localhost/[BuildTarget]
49 | m_ProfileEntryNames:
50 | - m_Id: ddeead917664796469d05b063de964d8
51 | m_Name: BuildTarget
52 | m_InlineUsage: 0
53 | - m_Id: d972d1e7c5b0d7c4e9786dddbd14b0b8
54 | m_Name: LocalBuildPath
55 | m_InlineUsage: 0
56 | - m_Id: 1bcf0be94f641284dacd801669397ef3
57 | m_Name: LocalLoadPath
58 | m_InlineUsage: 0
59 | - m_Id: fdcee85a73bd1504cb386e85679eee31
60 | m_Name: RemoteBuildPath
61 | m_InlineUsage: 0
62 | - m_Id: 3eb43c7d297d4cb4095cdc8646ab2fa9
63 | m_Name: RemoteLoadPath
64 | m_InlineUsage: 0
65 | m_ProfileVersion: 1
66 | m_LabelTable:
67 | m_LabelNames:
68 | - default
69 | m_SchemaTemplates: []
70 | m_GroupTemplateObjects:
71 | - {fileID: 11400000, guid: f94d9c8e71fd73f478fd4aa0152471cb, type: 2}
72 | m_InitializationObjects: []
73 | m_CertificateHandlerType:
74 | m_AssemblyName:
75 | m_ClassName:
76 | m_ActivePlayerDataBuilderIndex: 3
77 | m_DataBuilders:
78 | - {fileID: 11400000, guid: 92a8b16922724c04aab4fc697d020fbe, type: 2}
79 | - {fileID: 11400000, guid: 29bb6314dea545e4fa14b0924c4388f2, type: 2}
80 | - {fileID: 11400000, guid: ceefb45a8d7c94c4cbb1161f5cebe885, type: 2}
81 | - {fileID: 11400000, guid: 51460a20ddd7f094e91d04fea92db360, type: 2}
82 | m_ActiveProfileId: fe88a8161ed56704f833a38d4582e271
83 | m_HostingServicesManager:
84 | m_HostingServiceInfos: []
85 | m_Settings: {fileID: 11400000}
86 | m_NextInstanceId: 0
87 | m_RegisteredServiceTypeRefs: []
88 |
--------------------------------------------------------------------------------
/ProjectSettings/QualitySettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!47 &1
4 | QualitySettings:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 5
7 | m_CurrentQuality: 4
8 | m_QualitySettings:
9 | - serializedVersion: 2
10 | name: Very Low
11 | pixelLightCount: 0
12 | shadows: 0
13 | shadowResolution: 0
14 | shadowProjection: 1
15 | shadowCascades: 1
16 | shadowDistance: 15
17 | shadowNearPlaneOffset: 3
18 | shadowCascade2Split: 0.33333334
19 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667}
20 | shadowmaskMode: 0
21 | blendWeights: 1
22 | textureQuality: 1
23 | anisotropicTextures: 0
24 | antiAliasing: 0
25 | softParticles: 0
26 | softVegetation: 0
27 | realtimeReflectionProbes: 0
28 | billboardsFaceCameraPosition: 0
29 | vSyncCount: 0
30 | lodBias: 0.3
31 | maximumLODLevel: 0
32 | particleRaycastBudget: 4
33 | asyncUploadTimeSlice: 2
34 | asyncUploadBufferSize: 16
35 | resolutionScalingFixedDPIFactor: 1
36 | excludedTargetPlatforms: []
37 | - serializedVersion: 2
38 | name: Low
39 | pixelLightCount: 0
40 | shadows: 0
41 | shadowResolution: 0
42 | shadowProjection: 1
43 | shadowCascades: 1
44 | shadowDistance: 20
45 | shadowNearPlaneOffset: 3
46 | shadowCascade2Split: 0.33333334
47 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667}
48 | shadowmaskMode: 0
49 | blendWeights: 2
50 | textureQuality: 0
51 | anisotropicTextures: 0
52 | antiAliasing: 0
53 | softParticles: 0
54 | softVegetation: 0
55 | realtimeReflectionProbes: 0
56 | billboardsFaceCameraPosition: 0
57 | vSyncCount: 0
58 | lodBias: 0.4
59 | maximumLODLevel: 0
60 | particleRaycastBudget: 16
61 | asyncUploadTimeSlice: 2
62 | asyncUploadBufferSize: 16
63 | resolutionScalingFixedDPIFactor: 1
64 | excludedTargetPlatforms: []
65 | - serializedVersion: 2
66 | name: Medium
67 | pixelLightCount: 1
68 | shadows: 1
69 | shadowResolution: 0
70 | shadowProjection: 1
71 | shadowCascades: 1
72 | shadowDistance: 20
73 | shadowNearPlaneOffset: 3
74 | shadowCascade2Split: 0.33333334
75 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667}
76 | shadowmaskMode: 0
77 | blendWeights: 2
78 | textureQuality: 0
79 | anisotropicTextures: 1
80 | antiAliasing: 0
81 | softParticles: 0
82 | softVegetation: 0
83 | realtimeReflectionProbes: 0
84 | billboardsFaceCameraPosition: 0
85 | vSyncCount: 1
86 | lodBias: 0.7
87 | maximumLODLevel: 0
88 | particleRaycastBudget: 64
89 | asyncUploadTimeSlice: 2
90 | asyncUploadBufferSize: 16
91 | resolutionScalingFixedDPIFactor: 1
92 | excludedTargetPlatforms: []
93 | - serializedVersion: 2
94 | name: High
95 | pixelLightCount: 2
96 | shadows: 2
97 | shadowResolution: 1
98 | shadowProjection: 1
99 | shadowCascades: 2
100 | shadowDistance: 40
101 | shadowNearPlaneOffset: 3
102 | shadowCascade2Split: 0.33333334
103 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667}
104 | shadowmaskMode: 1
105 | blendWeights: 2
106 | textureQuality: 0
107 | anisotropicTextures: 1
108 | antiAliasing: 2
109 | softParticles: 0
110 | softVegetation: 1
111 | realtimeReflectionProbes: 1
112 | billboardsFaceCameraPosition: 1
113 | vSyncCount: 1
114 | lodBias: 1
115 | maximumLODLevel: 0
116 | particleRaycastBudget: 256
117 | asyncUploadTimeSlice: 2
118 | asyncUploadBufferSize: 16
119 | resolutionScalingFixedDPIFactor: 1
120 | excludedTargetPlatforms: []
121 | - serializedVersion: 2
122 | name: Very High
123 | pixelLightCount: 3
124 | shadows: 2
125 | shadowResolution: 2
126 | shadowProjection: 1
127 | shadowCascades: 2
128 | shadowDistance: 40
129 | shadowNearPlaneOffset: 3
130 | shadowCascade2Split: 0.33333334
131 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667}
132 | shadowmaskMode: 1
133 | blendWeights: 4
134 | textureQuality: 0
135 | anisotropicTextures: 1
136 | antiAliasing: 4
137 | softParticles: 1
138 | softVegetation: 1
139 | realtimeReflectionProbes: 1
140 | billboardsFaceCameraPosition: 1
141 | vSyncCount: 1
142 | lodBias: 1.5
143 | maximumLODLevel: 0
144 | particleRaycastBudget: 1024
145 | asyncUploadTimeSlice: 2
146 | asyncUploadBufferSize: 16
147 | resolutionScalingFixedDPIFactor: 1
148 | excludedTargetPlatforms: []
149 | - serializedVersion: 2
150 | name: Ultra
151 | pixelLightCount: 4
152 | shadows: 2
153 | shadowResolution: 2
154 | shadowProjection: 1
155 | shadowCascades: 4
156 | shadowDistance: 150
157 | shadowNearPlaneOffset: 3
158 | shadowCascade2Split: 0.33333334
159 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667}
160 | shadowmaskMode: 1
161 | blendWeights: 4
162 | textureQuality: 0
163 | anisotropicTextures: 1
164 | antiAliasing: 4
165 | softParticles: 1
166 | softVegetation: 1
167 | realtimeReflectionProbes: 1
168 | billboardsFaceCameraPosition: 1
169 | vSyncCount: 1
170 | lodBias: 2
171 | maximumLODLevel: 0
172 | particleRaycastBudget: 4096
173 | asyncUploadTimeSlice: 2
174 | asyncUploadBufferSize: 16
175 | resolutionScalingFixedDPIFactor: 1
176 | excludedTargetPlatforms: []
177 | m_PerPlatformDefaultQuality:
178 | Android: 2
179 | Nintendo 3DS: 5
180 | Nintendo Switch: 5
181 | PS4: 5
182 | PSP2: 2
183 | Standalone: 5
184 | Tizen: 2
185 | WebGL: 3
186 | WiiU: 5
187 | Windows Store Apps: 5
188 | XboxOne: 5
189 | iPhone: 2
190 | tvOS: 2
191 |
--------------------------------------------------------------------------------
/ProjectSettings/InputManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!13 &1
4 | InputManager:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 2
7 | m_Axes:
8 | - serializedVersion: 3
9 | m_Name: Horizontal
10 | descriptiveName:
11 | descriptiveNegativeName:
12 | negativeButton: left
13 | positiveButton: right
14 | altNegativeButton: a
15 | altPositiveButton: d
16 | gravity: 3
17 | dead: 0.001
18 | sensitivity: 3
19 | snap: 1
20 | invert: 0
21 | type: 0
22 | axis: 0
23 | joyNum: 0
24 | - serializedVersion: 3
25 | m_Name: Vertical
26 | descriptiveName:
27 | descriptiveNegativeName:
28 | negativeButton: down
29 | positiveButton: up
30 | altNegativeButton: s
31 | altPositiveButton: w
32 | gravity: 3
33 | dead: 0.001
34 | sensitivity: 3
35 | snap: 1
36 | invert: 0
37 | type: 0
38 | axis: 0
39 | joyNum: 0
40 | - serializedVersion: 3
41 | m_Name: Fire1
42 | descriptiveName:
43 | descriptiveNegativeName:
44 | negativeButton:
45 | positiveButton: left ctrl
46 | altNegativeButton:
47 | altPositiveButton: mouse 0
48 | gravity: 1000
49 | dead: 0.001
50 | sensitivity: 1000
51 | snap: 0
52 | invert: 0
53 | type: 0
54 | axis: 0
55 | joyNum: 0
56 | - serializedVersion: 3
57 | m_Name: Fire2
58 | descriptiveName:
59 | descriptiveNegativeName:
60 | negativeButton:
61 | positiveButton: left alt
62 | altNegativeButton:
63 | altPositiveButton: mouse 1
64 | gravity: 1000
65 | dead: 0.001
66 | sensitivity: 1000
67 | snap: 0
68 | invert: 0
69 | type: 0
70 | axis: 0
71 | joyNum: 0
72 | - serializedVersion: 3
73 | m_Name: Fire3
74 | descriptiveName:
75 | descriptiveNegativeName:
76 | negativeButton:
77 | positiveButton: left shift
78 | altNegativeButton:
79 | altPositiveButton: mouse 2
80 | gravity: 1000
81 | dead: 0.001
82 | sensitivity: 1000
83 | snap: 0
84 | invert: 0
85 | type: 0
86 | axis: 0
87 | joyNum: 0
88 | - serializedVersion: 3
89 | m_Name: Jump
90 | descriptiveName:
91 | descriptiveNegativeName:
92 | negativeButton:
93 | positiveButton: space
94 | altNegativeButton:
95 | altPositiveButton:
96 | gravity: 1000
97 | dead: 0.001
98 | sensitivity: 1000
99 | snap: 0
100 | invert: 0
101 | type: 0
102 | axis: 0
103 | joyNum: 0
104 | - serializedVersion: 3
105 | m_Name: Mouse X
106 | descriptiveName:
107 | descriptiveNegativeName:
108 | negativeButton:
109 | positiveButton:
110 | altNegativeButton:
111 | altPositiveButton:
112 | gravity: 0
113 | dead: 0
114 | sensitivity: 0.1
115 | snap: 0
116 | invert: 0
117 | type: 1
118 | axis: 0
119 | joyNum: 0
120 | - serializedVersion: 3
121 | m_Name: Mouse Y
122 | descriptiveName:
123 | descriptiveNegativeName:
124 | negativeButton:
125 | positiveButton:
126 | altNegativeButton:
127 | altPositiveButton:
128 | gravity: 0
129 | dead: 0
130 | sensitivity: 0.1
131 | snap: 0
132 | invert: 0
133 | type: 1
134 | axis: 1
135 | joyNum: 0
136 | - serializedVersion: 3
137 | m_Name: Mouse ScrollWheel
138 | descriptiveName:
139 | descriptiveNegativeName:
140 | negativeButton:
141 | positiveButton:
142 | altNegativeButton:
143 | altPositiveButton:
144 | gravity: 0
145 | dead: 0
146 | sensitivity: 0.1
147 | snap: 0
148 | invert: 0
149 | type: 1
150 | axis: 2
151 | joyNum: 0
152 | - serializedVersion: 3
153 | m_Name: Horizontal
154 | descriptiveName:
155 | descriptiveNegativeName:
156 | negativeButton:
157 | positiveButton:
158 | altNegativeButton:
159 | altPositiveButton:
160 | gravity: 0
161 | dead: 0.19
162 | sensitivity: 1
163 | snap: 0
164 | invert: 0
165 | type: 2
166 | axis: 0
167 | joyNum: 0
168 | - serializedVersion: 3
169 | m_Name: Vertical
170 | descriptiveName:
171 | descriptiveNegativeName:
172 | negativeButton:
173 | positiveButton:
174 | altNegativeButton:
175 | altPositiveButton:
176 | gravity: 0
177 | dead: 0.19
178 | sensitivity: 1
179 | snap: 0
180 | invert: 1
181 | type: 2
182 | axis: 1
183 | joyNum: 0
184 | - serializedVersion: 3
185 | m_Name: Fire1
186 | descriptiveName:
187 | descriptiveNegativeName:
188 | negativeButton:
189 | positiveButton: joystick button 0
190 | altNegativeButton:
191 | altPositiveButton:
192 | gravity: 1000
193 | dead: 0.001
194 | sensitivity: 1000
195 | snap: 0
196 | invert: 0
197 | type: 0
198 | axis: 0
199 | joyNum: 0
200 | - serializedVersion: 3
201 | m_Name: Fire2
202 | descriptiveName:
203 | descriptiveNegativeName:
204 | negativeButton:
205 | positiveButton: joystick button 1
206 | altNegativeButton:
207 | altPositiveButton:
208 | gravity: 1000
209 | dead: 0.001
210 | sensitivity: 1000
211 | snap: 0
212 | invert: 0
213 | type: 0
214 | axis: 0
215 | joyNum: 0
216 | - serializedVersion: 3
217 | m_Name: Fire3
218 | descriptiveName:
219 | descriptiveNegativeName:
220 | negativeButton:
221 | positiveButton: joystick button 2
222 | altNegativeButton:
223 | altPositiveButton:
224 | gravity: 1000
225 | dead: 0.001
226 | sensitivity: 1000
227 | snap: 0
228 | invert: 0
229 | type: 0
230 | axis: 0
231 | joyNum: 0
232 | - serializedVersion: 3
233 | m_Name: Jump
234 | descriptiveName:
235 | descriptiveNegativeName:
236 | negativeButton:
237 | positiveButton: joystick button 3
238 | altNegativeButton:
239 | altPositiveButton:
240 | gravity: 1000
241 | dead: 0.001
242 | sensitivity: 1000
243 | snap: 0
244 | invert: 0
245 | type: 0
246 | axis: 0
247 | joyNum: 0
248 | - serializedVersion: 3
249 | m_Name: Submit
250 | descriptiveName:
251 | descriptiveNegativeName:
252 | negativeButton:
253 | positiveButton: return
254 | altNegativeButton:
255 | altPositiveButton: joystick button 0
256 | gravity: 1000
257 | dead: 0.001
258 | sensitivity: 1000
259 | snap: 0
260 | invert: 0
261 | type: 0
262 | axis: 0
263 | joyNum: 0
264 | - serializedVersion: 3
265 | m_Name: Submit
266 | descriptiveName:
267 | descriptiveNegativeName:
268 | negativeButton:
269 | positiveButton: enter
270 | altNegativeButton:
271 | altPositiveButton: space
272 | gravity: 1000
273 | dead: 0.001
274 | sensitivity: 1000
275 | snap: 0
276 | invert: 0
277 | type: 0
278 | axis: 0
279 | joyNum: 0
280 | - serializedVersion: 3
281 | m_Name: Cancel
282 | descriptiveName:
283 | descriptiveNegativeName:
284 | negativeButton:
285 | positiveButton: escape
286 | altNegativeButton:
287 | altPositiveButton: joystick button 1
288 | gravity: 1000
289 | dead: 0.001
290 | sensitivity: 1000
291 | snap: 0
292 | invert: 0
293 | type: 0
294 | axis: 0
295 | joyNum: 0
296 |
--------------------------------------------------------------------------------
/Assets/AddressablesManager/Scenes/SceneTest.unity:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!29 &1
4 | OcclusionCullingSettings:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 2
7 | m_OcclusionBakeSettings:
8 | smallestOccluder: 5
9 | smallestHole: 0.25
10 | backfaceThreshold: 100
11 | m_SceneGUID: 00000000000000000000000000000000
12 | m_OcclusionCullingData: {fileID: 0}
13 | --- !u!104 &2
14 | RenderSettings:
15 | m_ObjectHideFlags: 0
16 | serializedVersion: 9
17 | m_Fog: 0
18 | m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
19 | m_FogMode: 3
20 | m_FogDensity: 0.01
21 | m_LinearFogStart: 0
22 | m_LinearFogEnd: 300
23 | m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1}
24 | m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1}
25 | m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1}
26 | m_AmbientIntensity: 1
27 | m_AmbientMode: 0
28 | m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1}
29 | m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0}
30 | m_HaloStrength: 0.5
31 | m_FlareStrength: 1
32 | m_FlareFadeSpeed: 3
33 | m_HaloTexture: {fileID: 0}
34 | m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0}
35 | m_DefaultReflectionMode: 0
36 | m_DefaultReflectionResolution: 128
37 | m_ReflectionBounces: 1
38 | m_ReflectionIntensity: 1
39 | m_CustomReflection: {fileID: 0}
40 | m_Sun: {fileID: 0}
41 | m_IndirectSpecularColor: {r: 0.44657844, g: 0.49641222, b: 0.57481694, a: 1}
42 | m_UseRadianceAmbientProbe: 0
43 | --- !u!157 &3
44 | LightmapSettings:
45 | m_ObjectHideFlags: 0
46 | serializedVersion: 11
47 | m_GIWorkflowMode: 0
48 | m_GISettings:
49 | serializedVersion: 2
50 | m_BounceScale: 1
51 | m_IndirectOutputScale: 1
52 | m_AlbedoBoost: 1
53 | m_EnvironmentLightingMode: 0
54 | m_EnableBakedLightmaps: 1
55 | m_EnableRealtimeLightmaps: 1
56 | m_LightmapEditorSettings:
57 | serializedVersion: 10
58 | m_Resolution: 2
59 | m_BakeResolution: 40
60 | m_AtlasSize: 1024
61 | m_AO: 0
62 | m_AOMaxDistance: 1
63 | m_CompAOExponent: 1
64 | m_CompAOExponentDirect: 0
65 | m_Padding: 2
66 | m_LightmapParameters: {fileID: 0}
67 | m_LightmapsBakeMode: 1
68 | m_TextureCompression: 1
69 | m_FinalGather: 0
70 | m_FinalGatherFiltering: 1
71 | m_FinalGatherRayCount: 256
72 | m_ReflectionCompression: 2
73 | m_MixedBakeMode: 2
74 | m_BakeBackend: 1
75 | m_PVRSampling: 1
76 | m_PVRDirectSampleCount: 32
77 | m_PVRSampleCount: 500
78 | m_PVRBounces: 2
79 | m_PVRFilterTypeDirect: 0
80 | m_PVRFilterTypeIndirect: 0
81 | m_PVRFilterTypeAO: 0
82 | m_PVRFilteringMode: 1
83 | m_PVRCulling: 1
84 | m_PVRFilteringGaussRadiusDirect: 1
85 | m_PVRFilteringGaussRadiusIndirect: 5
86 | m_PVRFilteringGaussRadiusAO: 2
87 | m_PVRFilteringAtrousPositionSigmaDirect: 0.5
88 | m_PVRFilteringAtrousPositionSigmaIndirect: 2
89 | m_PVRFilteringAtrousPositionSigmaAO: 1
90 | m_ShowResolutionOverlay: 1
91 | m_LightingDataAsset: {fileID: 0}
92 | m_UseShadowmask: 1
93 | --- !u!196 &4
94 | NavMeshSettings:
95 | serializedVersion: 2
96 | m_ObjectHideFlags: 0
97 | m_BuildSettings:
98 | serializedVersion: 2
99 | agentTypeID: 0
100 | agentRadius: 0.5
101 | agentHeight: 2
102 | agentSlope: 45
103 | agentClimb: 0.4
104 | ledgeDropHeight: 0
105 | maxJumpAcrossDistance: 0
106 | minRegionArea: 2
107 | manualCellSize: 0
108 | cellSize: 0.16666667
109 | manualTileSize: 0
110 | tileSize: 256
111 | accuratePlacement: 0
112 | debug:
113 | m_Flags: 0
114 | m_NavMeshData: {fileID: 0}
115 | --- !u!1 &971381199
116 | GameObject:
117 | m_ObjectHideFlags: 0
118 | m_CorrespondingSourceObject: {fileID: 0}
119 | m_PrefabInstance: {fileID: 0}
120 | m_PrefabAsset: {fileID: 0}
121 | serializedVersion: 6
122 | m_Component:
123 | - component: {fileID: 971381202}
124 | - component: {fileID: 971381201}
125 | - component: {fileID: 971381200}
126 | m_Layer: 0
127 | m_Name: Main Camera
128 | m_TagString: MainCamera
129 | m_Icon: {fileID: 0}
130 | m_NavMeshLayer: 0
131 | m_StaticEditorFlags: 0
132 | m_IsActive: 1
133 | --- !u!81 &971381200
134 | AudioListener:
135 | m_ObjectHideFlags: 0
136 | m_CorrespondingSourceObject: {fileID: 0}
137 | m_PrefabInstance: {fileID: 0}
138 | m_PrefabAsset: {fileID: 0}
139 | m_GameObject: {fileID: 971381199}
140 | m_Enabled: 1
141 | --- !u!20 &971381201
142 | Camera:
143 | m_ObjectHideFlags: 0
144 | m_CorrespondingSourceObject: {fileID: 0}
145 | m_PrefabInstance: {fileID: 0}
146 | m_PrefabAsset: {fileID: 0}
147 | m_GameObject: {fileID: 971381199}
148 | m_Enabled: 1
149 | serializedVersion: 2
150 | m_ClearFlags: 1
151 | m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0}
152 | m_projectionMatrixMode: 1
153 | m_SensorSize: {x: 36, y: 24}
154 | m_LensShift: {x: 0, y: 0}
155 | m_GateFitMode: 2
156 | m_FocalLength: 50
157 | m_NormalizedViewPortRect:
158 | serializedVersion: 2
159 | x: 0
160 | y: 0
161 | width: 1
162 | height: 1
163 | near clip plane: 0.3
164 | far clip plane: 1000
165 | field of view: 60
166 | orthographic: 0
167 | orthographic size: 5
168 | m_Depth: -1
169 | m_CullingMask:
170 | serializedVersion: 2
171 | m_Bits: 4294967295
172 | m_RenderingPath: -1
173 | m_TargetTexture: {fileID: 0}
174 | m_TargetDisplay: 0
175 | m_TargetEye: 3
176 | m_HDR: 1
177 | m_AllowMSAA: 1
178 | m_AllowDynamicResolution: 0
179 | m_ForceIntoRT: 0
180 | m_OcclusionCulling: 1
181 | m_StereoConvergence: 10
182 | m_StereoSeparation: 0.022
183 | --- !u!4 &971381202
184 | Transform:
185 | m_ObjectHideFlags: 0
186 | m_CorrespondingSourceObject: {fileID: 0}
187 | m_PrefabInstance: {fileID: 0}
188 | m_PrefabAsset: {fileID: 0}
189 | m_GameObject: {fileID: 971381199}
190 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
191 | m_LocalPosition: {x: 0, y: 1, z: -10}
192 | m_LocalScale: {x: 1, y: 1, z: 1}
193 | m_Children: []
194 | m_Father: {fileID: 0}
195 | m_RootOrder: 0
196 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
197 | --- !u!1 &1389407447
198 | GameObject:
199 | m_ObjectHideFlags: 0
200 | m_CorrespondingSourceObject: {fileID: 0}
201 | m_PrefabInstance: {fileID: 0}
202 | m_PrefabAsset: {fileID: 0}
203 | serializedVersion: 6
204 | m_Component:
205 | - component: {fileID: 1389407449}
206 | - component: {fileID: 1389407448}
207 | m_Layer: 0
208 | m_Name: Directional Light
209 | m_TagString: Untagged
210 | m_Icon: {fileID: 0}
211 | m_NavMeshLayer: 0
212 | m_StaticEditorFlags: 0
213 | m_IsActive: 1
214 | --- !u!108 &1389407448
215 | Light:
216 | m_ObjectHideFlags: 0
217 | m_CorrespondingSourceObject: {fileID: 0}
218 | m_PrefabInstance: {fileID: 0}
219 | m_PrefabAsset: {fileID: 0}
220 | m_GameObject: {fileID: 1389407447}
221 | m_Enabled: 1
222 | serializedVersion: 8
223 | m_Type: 1
224 | m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1}
225 | m_Intensity: 1
226 | m_Range: 10
227 | m_SpotAngle: 30
228 | m_CookieSize: 10
229 | m_Shadows:
230 | m_Type: 2
231 | m_Resolution: -1
232 | m_CustomResolution: -1
233 | m_Strength: 1
234 | m_Bias: 0.05
235 | m_NormalBias: 0.4
236 | m_NearPlane: 0.2
237 | m_Cookie: {fileID: 0}
238 | m_DrawHalo: 0
239 | m_Flare: {fileID: 0}
240 | m_RenderMode: 0
241 | m_CullingMask:
242 | serializedVersion: 2
243 | m_Bits: 4294967295
244 | m_Lightmapping: 4
245 | m_LightShadowCasterMode: 0
246 | m_AreaSize: {x: 1, y: 1}
247 | m_BounceIntensity: 1
248 | m_ColorTemperature: 6570
249 | m_UseColorTemperature: 0
250 | m_ShadowRadius: 0
251 | m_ShadowAngle: 0
252 | --- !u!4 &1389407449
253 | Transform:
254 | m_ObjectHideFlags: 0
255 | m_CorrespondingSourceObject: {fileID: 0}
256 | m_PrefabInstance: {fileID: 0}
257 | m_PrefabAsset: {fileID: 0}
258 | m_GameObject: {fileID: 1389407447}
259 | m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261}
260 | m_LocalPosition: {x: 0, y: 3, z: 0}
261 | m_LocalScale: {x: 1, y: 1, z: 1}
262 | m_Children: []
263 | m_Father: {fileID: 0}
264 | m_RootOrder: 1
265 | m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0}
266 |
--------------------------------------------------------------------------------
/Assets/AddressablesManager/Scenes/Test.unity:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!29 &1
4 | OcclusionCullingSettings:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 2
7 | m_OcclusionBakeSettings:
8 | smallestOccluder: 5
9 | smallestHole: 0.25
10 | backfaceThreshold: 100
11 | m_SceneGUID: 00000000000000000000000000000000
12 | m_OcclusionCullingData: {fileID: 0}
13 | --- !u!104 &2
14 | RenderSettings:
15 | m_ObjectHideFlags: 0
16 | serializedVersion: 9
17 | m_Fog: 0
18 | m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
19 | m_FogMode: 3
20 | m_FogDensity: 0.01
21 | m_LinearFogStart: 0
22 | m_LinearFogEnd: 300
23 | m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1}
24 | m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1}
25 | m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1}
26 | m_AmbientIntensity: 1
27 | m_AmbientMode: 0
28 | m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1}
29 | m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0}
30 | m_HaloStrength: 0.5
31 | m_FlareStrength: 1
32 | m_FlareFadeSpeed: 3
33 | m_HaloTexture: {fileID: 0}
34 | m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0}
35 | m_DefaultReflectionMode: 0
36 | m_DefaultReflectionResolution: 128
37 | m_ReflectionBounces: 1
38 | m_ReflectionIntensity: 1
39 | m_CustomReflection: {fileID: 0}
40 | m_Sun: {fileID: 170076734}
41 | m_IndirectSpecularColor: {r: 0.44657898, g: 0.4964133, b: 0.5748178, a: 1}
42 | m_UseRadianceAmbientProbe: 0
43 | --- !u!157 &3
44 | LightmapSettings:
45 | m_ObjectHideFlags: 0
46 | serializedVersion: 11
47 | m_GIWorkflowMode: 0
48 | m_GISettings:
49 | serializedVersion: 2
50 | m_BounceScale: 1
51 | m_IndirectOutputScale: 1
52 | m_AlbedoBoost: 1
53 | m_EnvironmentLightingMode: 0
54 | m_EnableBakedLightmaps: 1
55 | m_EnableRealtimeLightmaps: 0
56 | m_LightmapEditorSettings:
57 | serializedVersion: 12
58 | m_Resolution: 2
59 | m_BakeResolution: 10
60 | m_AtlasSize: 512
61 | m_AO: 0
62 | m_AOMaxDistance: 1
63 | m_CompAOExponent: 1
64 | m_CompAOExponentDirect: 0
65 | m_ExtractAmbientOcclusion: 0
66 | m_Padding: 2
67 | m_LightmapParameters: {fileID: 0}
68 | m_LightmapsBakeMode: 1
69 | m_TextureCompression: 1
70 | m_FinalGather: 0
71 | m_FinalGatherFiltering: 1
72 | m_FinalGatherRayCount: 256
73 | m_ReflectionCompression: 2
74 | m_MixedBakeMode: 2
75 | m_BakeBackend: 1
76 | m_PVRSampling: 1
77 | m_PVRDirectSampleCount: 32
78 | m_PVRSampleCount: 256
79 | m_PVRBounces: 2
80 | m_PVREnvironmentSampleCount: 256
81 | m_PVREnvironmentReferencePointCount: 2048
82 | m_PVRFilteringMode: 2
83 | m_PVRDenoiserTypeDirect: 0
84 | m_PVRDenoiserTypeIndirect: 0
85 | m_PVRDenoiserTypeAO: 0
86 | m_PVRFilterTypeDirect: 0
87 | m_PVRFilterTypeIndirect: 0
88 | m_PVRFilterTypeAO: 0
89 | m_PVREnvironmentMIS: 0
90 | m_PVRCulling: 1
91 | m_PVRFilteringGaussRadiusDirect: 1
92 | m_PVRFilteringGaussRadiusIndirect: 5
93 | m_PVRFilteringGaussRadiusAO: 2
94 | m_PVRFilteringAtrousPositionSigmaDirect: 0.5
95 | m_PVRFilteringAtrousPositionSigmaIndirect: 2
96 | m_PVRFilteringAtrousPositionSigmaAO: 1
97 | m_ExportTrainingData: 0
98 | m_TrainingDataDestination: TrainingData
99 | m_LightProbeSampleCountMultiplier: 4
100 | m_LightingDataAsset: {fileID: 0}
101 | m_UseShadowmask: 1
102 | --- !u!196 &4
103 | NavMeshSettings:
104 | serializedVersion: 2
105 | m_ObjectHideFlags: 0
106 | m_BuildSettings:
107 | serializedVersion: 2
108 | agentTypeID: 0
109 | agentRadius: 0.5
110 | agentHeight: 2
111 | agentSlope: 45
112 | agentClimb: 0.4
113 | ledgeDropHeight: 0
114 | maxJumpAcrossDistance: 0
115 | minRegionArea: 2
116 | manualCellSize: 0
117 | cellSize: 0.16666667
118 | manualTileSize: 0
119 | tileSize: 256
120 | accuratePlacement: 0
121 | debug:
122 | m_Flags: 0
123 | m_NavMeshData: {fileID: 0}
124 | --- !u!1 &170076733
125 | GameObject:
126 | m_ObjectHideFlags: 0
127 | m_CorrespondingSourceObject: {fileID: 0}
128 | m_PrefabInstance: {fileID: 0}
129 | m_PrefabAsset: {fileID: 0}
130 | serializedVersion: 6
131 | m_Component:
132 | - component: {fileID: 170076735}
133 | - component: {fileID: 170076734}
134 | m_Layer: 0
135 | m_Name: Directional Light
136 | m_TagString: Untagged
137 | m_Icon: {fileID: 0}
138 | m_NavMeshLayer: 0
139 | m_StaticEditorFlags: 0
140 | m_IsActive: 1
141 | --- !u!108 &170076734
142 | Light:
143 | m_ObjectHideFlags: 0
144 | m_CorrespondingSourceObject: {fileID: 0}
145 | m_PrefabInstance: {fileID: 0}
146 | m_PrefabAsset: {fileID: 0}
147 | m_GameObject: {fileID: 170076733}
148 | m_Enabled: 1
149 | serializedVersion: 10
150 | m_Type: 1
151 | m_Shape: 0
152 | m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1}
153 | m_Intensity: 1
154 | m_Range: 10
155 | m_SpotAngle: 30
156 | m_InnerSpotAngle: 21.80208
157 | m_CookieSize: 10
158 | m_Shadows:
159 | m_Type: 2
160 | m_Resolution: -1
161 | m_CustomResolution: -1
162 | m_Strength: 1
163 | m_Bias: 0.05
164 | m_NormalBias: 0.4
165 | m_NearPlane: 0.2
166 | m_CullingMatrixOverride:
167 | e00: 1
168 | e01: 0
169 | e02: 0
170 | e03: 0
171 | e10: 0
172 | e11: 1
173 | e12: 0
174 | e13: 0
175 | e20: 0
176 | e21: 0
177 | e22: 1
178 | e23: 0
179 | e30: 0
180 | e31: 0
181 | e32: 0
182 | e33: 1
183 | m_UseCullingMatrixOverride: 0
184 | m_Cookie: {fileID: 0}
185 | m_DrawHalo: 0
186 | m_Flare: {fileID: 0}
187 | m_RenderMode: 0
188 | m_CullingMask:
189 | serializedVersion: 2
190 | m_Bits: 4294967295
191 | m_RenderingLayerMask: 1
192 | m_Lightmapping: 1
193 | m_LightShadowCasterMode: 0
194 | m_AreaSize: {x: 1, y: 1}
195 | m_BounceIntensity: 1
196 | m_ColorTemperature: 6570
197 | m_UseColorTemperature: 0
198 | m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0}
199 | m_UseBoundingSphereOverride: 0
200 | m_ShadowRadius: 0
201 | m_ShadowAngle: 0
202 | --- !u!4 &170076735
203 | Transform:
204 | m_ObjectHideFlags: 0
205 | m_CorrespondingSourceObject: {fileID: 0}
206 | m_PrefabInstance: {fileID: 0}
207 | m_PrefabAsset: {fileID: 0}
208 | m_GameObject: {fileID: 170076733}
209 | m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261}
210 | m_LocalPosition: {x: 0, y: 3, z: 0}
211 | m_LocalScale: {x: 1, y: 1, z: 1}
212 | m_Children: []
213 | m_Father: {fileID: 0}
214 | m_RootOrder: 0
215 | m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0}
216 | --- !u!1 &208464640
217 | GameObject:
218 | m_ObjectHideFlags: 0
219 | m_CorrespondingSourceObject: {fileID: 0}
220 | m_PrefabInstance: {fileID: 0}
221 | m_PrefabAsset: {fileID: 0}
222 | serializedVersion: 6
223 | m_Component:
224 | - component: {fileID: 208464642}
225 | - component: {fileID: 208464641}
226 | m_Layer: 0
227 | m_Name: AddressablesExample
228 | m_TagString: Untagged
229 | m_Icon: {fileID: 0}
230 | m_NavMeshLayer: 0
231 | m_StaticEditorFlags: 0
232 | m_IsActive: 1
233 | --- !u!114 &208464641
234 | MonoBehaviour:
235 | m_ObjectHideFlags: 0
236 | m_CorrespondingSourceObject: {fileID: 0}
237 | m_PrefabInstance: {fileID: 0}
238 | m_PrefabAsset: {fileID: 0}
239 | m_GameObject: {fileID: 208464640}
240 | m_Enabled: 1
241 | m_EditorHideFlags: 0
242 | m_Script: {fileID: 11500000, guid: 134a8550df76d3244b1a72986a99c089, type: 3}
243 | m_Name:
244 | m_EditorClassIdentifier:
245 | loneGameObject: {fileID: 623190349782299876, guid: eefe4b0611151704d9f75e91b40b5065,
246 | type: 3}
247 | testObjects:
248 | - {fileID: 0}
249 | - {fileID: 0}
250 | - {fileID: 0}
251 | - {fileID: 0}
252 | - {fileID: 0}
253 | - {fileID: 0}
254 | - {fileID: 0}
255 | - {fileID: 0}
256 | - {fileID: 0}
257 | - {fileID: 0}
258 | - {fileID: 0}
259 | - {fileID: 0}
260 | - {fileID: 0}
261 | - {fileID: 0}
262 | - {fileID: 0}
263 | - {fileID: 0}
264 | - {fileID: 0}
265 | - {fileID: 0}
266 | - {fileID: 0}
267 | - {fileID: 0}
268 | materials: []
269 | listTest:
270 | - TestObject
271 | - TestSphere
272 | --- !u!4 &208464642
273 | Transform:
274 | m_ObjectHideFlags: 0
275 | m_CorrespondingSourceObject: {fileID: 0}
276 | m_PrefabInstance: {fileID: 0}
277 | m_PrefabAsset: {fileID: 0}
278 | m_GameObject: {fileID: 208464640}
279 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
280 | m_LocalPosition: {x: 0, y: 0, z: 0}
281 | m_LocalScale: {x: 1, y: 1, z: 1}
282 | m_Children: []
283 | m_Father: {fileID: 0}
284 | m_RootOrder: 1
285 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
286 |
--------------------------------------------------------------------------------
/Assets/AddressablesManager/Scripts/Addressables/AddressablesManager.cs:
--------------------------------------------------------------------------------
1 | using System.Threading;
2 | using System.Threading.Tasks;
3 | using System.Collections.Concurrent;
4 | using System;
5 | using System.Collections;
6 | using System.Collections.Generic;
7 | using UnityEngine;
8 | using UnityEngine.AddressableAssets;
9 | using UnityEngine.ResourceManagement;
10 | using UnityEngine.ResourceManagement.ResourceProviders;
11 | using UnityEngine.SceneManagement;
12 | using UnityEngine.ResourceManagement.AsyncOperations;
13 | using System.Linq;
14 |
15 | namespace AddressablesManagement
16 | {
17 | public class AddressablesManager : MonoBehaviour
18 | {
19 | private static AddressablesManager _instance;
20 |
21 | private bool _currentlyLoading;
22 | private Scene _currentlyLoadingScene;
23 |
24 | #region PROPERTIES
25 | ///
26 | /// Reports whether there's an object currently loading or not.
27 | ///
28 | public bool CurrentlyLoading
29 | {
30 | get { return _currentlyLoading; }
31 | private set { _currentlyLoading = value; }
32 | }
33 |
34 | ///
35 | /// Instance object of this class
36 | ///
37 | public static AddressablesManager Instance
38 | {
39 | get
40 | {
41 | if (_instance == null)
42 | {
43 | Create();
44 | }
45 |
46 | return _instance;
47 | }
48 | }
49 | #endregion
50 |
51 | private void Awake()
52 | {
53 | if (_instance == null)
54 | {
55 | _instance = this;
56 | DontDestroyOnLoad(this);
57 | }
58 | else
59 | {
60 | Destroy(this);
61 | }
62 | }
63 |
64 | #region PUBLIC METHODS
65 | ///
66 | /// Loads a given scene either in additive or single mode to the current scene.
67 | ///
68 | /// Name of the scene to load.
69 | /// Scene load mode.
70 | public Task LoadScene(string sceneName, LoadSceneMode loadMode)
71 | {
72 | _currentlyLoadingScene = default;
73 | _currentlyLoadingScene.name = "";
74 |
75 | Addressables.LoadSceneAsync(sceneName, loadMode).Completed += AddressablesManager_OnSceneLoadCompleted;
76 |
77 | if (string.IsNullOrEmpty(_currentlyLoadingScene.name))
78 | {
79 | Task.Delay(1);
80 | }
81 |
82 | return Task.Run(() => _currentlyLoadingScene);
83 | }
84 |
85 | private void AddressablesManager_OnSceneLoadCompleted(AsyncOperationHandle obj)
86 | {
87 | if (obj.Status == UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationStatus.Succeeded)
88 | {
89 | _currentlyLoadingScene = obj.Result.Scene;
90 | }
91 | }
92 |
93 | ///
94 | /// Loads a given scene either in additive or single mode to the current scene.
95 | ///
96 | /// Name of the scene to load.
97 | /// Scene load mode.
98 | public async Task OnlyLoadScene(string sceneName, LoadSceneMode loadMode)
99 | {
100 | await Task.Run(() => Addressables.LoadSceneAsync(sceneName, loadMode));
101 | }
102 |
103 | ///
104 | /// Unloads a given scene from memory asynchronously.
105 | ///
106 | /// Scene object to unload.
107 | public async Task UnloadScene(SceneInstance scene)
108 | {
109 | Addressables.UnloadSceneAsync(scene);
110 | }
111 |
112 | ///
113 | /// Instantiates a gameobject in a given position and rotation in the world.
114 | ///
115 | /// Addressables
116 | /// Position in the world to instantiate the gameobject.
117 | /// Rotation to instantiate the gameobject.
118 | /// Returns the gameobject set to instantiate.
119 | public async Task InstantiateGameObject(string path, Vector3 position, Quaternion rotation)
120 | {
121 | return await Addressables.InstantiateAsync(path, position, rotation) as GameObject;
122 | }
123 |
124 | ///
125 | /// Instantiates a gameobject in a default position and rotation in the world.
126 | ///
127 | /// Project path where the gameobject resides.
128 | /// Returns the gameobject set to instantiate.
129 | public async Task InstantiateGameObject(string path)
130 | {
131 | return await Addressables.InstantiateAsync(path, Vector3.zero, Quaternion.identity) as GameObject; ;
132 | }
133 |
134 | ///
135 | /// Loads an object of type T into memory.
136 | ///
137 | /// Type of object to load.
138 | /// Path of the object to load in the Addressables system.
139 | /// Returns an object of type T.
140 | public async Task Load(string path) where T : class
141 | {
142 | return await Addressables.LoadAssetAsync(path);
143 | }
144 |
145 | ///
146 | /// Preloads all dependencies of an object, given its path.
147 | ///
148 | /// Path of the object to load dependencies from.
149 | public async Task DownloadDependencies(string path)
150 | {
151 | await Addressables.DownloadDependenciesAsync(path);
152 | }
153 |
154 | ///
155 | /// Loads all assets of a given label into memory.
156 | ///
157 | /// Type of the objects to load.
158 | /// Label in the Addressables of the objects to load.
159 | /// Callback to execute after loading
160 | /// Returns a list with elements of type T.
161 | public async Task> LoadAssetsByLabel(string label, Action callback = null) where T : class
162 | {
163 | return await Addressables.LoadAssetsAsync(label, callback) as List;
164 | }
165 |
166 | ///
167 | /// Loads all assets from a given list into memory
168 | ///
169 | ///
170 | /// List of labels to load
171 | /// Callback to execute after loading
172 | /// Assets merge mode. For more information, visit https://docs.unity3d.com/Packages/com.unity.addressables@0.4/api/UnityEngine.AddressableAssets.Addressables.MergeMode.html?q=mergemode
173 | /// Returns a list with elements of type T.
174 | public async Task> LoadFromList(List labels, Action callback = null, Addressables.MergeMode mergeMode = Addressables.MergeMode.None) where T : class
175 | {
176 | List