diff --git a/Assets/AddressableAssetsData.meta b/Assets/AddressableAssetsData.meta new file mode 100644 index 0000000..e55c586 --- /dev/null +++ b/Assets/AddressableAssetsData.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 6f0baddf7adf24947995cbaa875cd112 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/AddressableAssetsData/AddressableAssetSettings.asset b/Assets/AddressableAssetsData/AddressableAssetSettings.asset new file mode 100644 index 0000000..bf2428b --- /dev/null +++ b/Assets/AddressableAssetsData/AddressableAssetSettings.asset @@ -0,0 +1,112 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 468a46d0ae32c3544b7d98094e6448a9, type: 3} + m_Name: AddressableAssetSettings + m_EditorClassIdentifier: + m_DefaultGroup: a6a10e199b443454ba3e0754129e4913 + m_currentHash: + serializedVersion: 2 + Hash: 383e5346901155784c0510435203ab9f + m_OptimizeCatalogSize: 0 + m_BuildRemoteCatalog: 0 + m_BundleLocalCatalog: 0 + m_CatalogRequestsTimeout: 0 + m_DisableCatalogUpdateOnStart: 0 + m_IgnoreUnsupportedFilesInBuild: 0 + m_UniqueBundleIds: 0 + m_NonRecursiveBuilding: 1 + m_CCDEnabled: 0 + m_maxConcurrentWebRequests: 3 + m_ContiguousBundles: 1 + m_StripUnityVersionFromBundleBuild: 0 + m_DisableVisibleSubAssetRepresentations: 0 + m_ShaderBundleNaming: 0 + m_ShaderBundleCustomNaming: + m_MonoScriptBundleNaming: 0 + m_CheckForContentUpdateRestrictionsOption: 0 + m_MonoScriptBundleCustomNaming: + m_RemoteCatalogBuildPath: + m_Id: + m_RemoteCatalogLoadPath: + m_Id: + m_ContentStateBuildPathProfileVariableName: + m_CustomContentStateBuildPath: + m_ContentStateBuildPath: + m_BuildAddressablesWithPlayerBuild: 0 + m_overridePlayerVersion: '[UnityEditor.PlayerSettings.bundleVersion]' + m_GroupAssets: + - {fileID: 11400000, guid: 8fa4975dd9f4ddf43b477f49fb94aa8b, type: 2} + - {fileID: 11400000, guid: 69a211d9438e59142b89edfe89c27111, type: 2} + - {fileID: 11400000, guid: c2c5442912155b145b244854c84d0fb5, type: 2} + - {fileID: 11400000, guid: 4837ab92831c4904dbfa33a20760bec9, type: 2} + - {fileID: 11400000, guid: a90eff43db4c6df42a85d804b62910a6, type: 2} + m_BuildSettings: + m_CompileScriptsInVirtualMode: 0 + m_CleanupStreamingAssetsAfterBuilds: 1 + m_LogResourceManagerExceptions: 1 + m_BundleBuildPath: Temp/com.unity.addressables/AssetBundles + m_ProfileSettings: + m_Profiles: + - m_InheritedParent: + m_Id: e981aa23849da0c4fbb65eb43e4d1ea5 + m_ProfileName: Default + m_Values: + - m_Id: 3ae56e87e80bfce4ea3dad31890a3fd7 + m_Value: '[UnityEditor.EditorUserBuildSettings.activeBuildTarget]' + - m_Id: 598c1d56adf1a6546b5d3f6ec65d785b + m_Value: '[UnityEngine.AddressableAssets.Addressables.BuildPath]/[BuildTarget]' + - m_Id: e1129edad626c5a4d8ba45992b96932e + m_Value: '{UnityEngine.AddressableAssets.Addressables.RuntimePath}/[BuildTarget]' + - m_Id: 1721ff3d45e081a448b989d1f010470a + m_Value: ServerData/[BuildTarget] + - m_Id: 2ce92fdf1ada6714eba8fd7537893d30 + m_Value: http://[PrivateIpAddress]:[HostingServicePort] + m_ProfileEntryNames: + - m_Id: 3ae56e87e80bfce4ea3dad31890a3fd7 + m_Name: BuildTarget + m_InlineUsage: 0 + - m_Id: 598c1d56adf1a6546b5d3f6ec65d785b + m_Name: Local.BuildPath + m_InlineUsage: 0 + - m_Id: e1129edad626c5a4d8ba45992b96932e + m_Name: Local.LoadPath + m_InlineUsage: 0 + - m_Id: 1721ff3d45e081a448b989d1f010470a + m_Name: Remote.BuildPath + m_InlineUsage: 0 + - m_Id: 2ce92fdf1ada6714eba8fd7537893d30 + m_Name: Remote.LoadPath + m_InlineUsage: 0 + m_ProfileVersion: 1 + m_LabelTable: + m_LabelNames: + - default + m_SchemaTemplates: [] + m_GroupTemplateObjects: + - {fileID: 11400000, guid: 374d9d58f0ac7644dbede58c28ffae41, type: 2} + m_InitializationObjects: [] + m_CertificateHandlerType: + m_AssemblyName: + m_ClassName: + m_ActivePlayerDataBuilderIndex: 3 + m_DataBuilders: + - {fileID: 11400000, guid: 11becb4099c8df44490b93ea224699ca, type: 2} + - {fileID: 11400000, guid: d1c6eda11669e6e408e233335cd02339, type: 2} + - {fileID: 11400000, guid: f2a5cc655cd4dfb41a731284717df198, type: 2} + - {fileID: 11400000, guid: f731e37ff642a304fb0d320d7a79c59c, type: 2} + m_ActiveProfileId: e981aa23849da0c4fbb65eb43e4d1ea5 + m_HostingServicesManager: + m_HostingServiceInfos: [] + m_Settings: {fileID: 11400000} + m_NextInstanceId: 0 + m_RegisteredServiceTypeRefs: [] + m_PingTimeoutInMilliseconds: 5000 diff --git a/Assets/AddressableAssetsData/AddressableAssetSettings.asset.meta b/Assets/AddressableAssetsData/AddressableAssetSettings.asset.meta new file mode 100644 index 0000000..6aa19a8 --- /dev/null +++ b/Assets/AddressableAssetsData/AddressableAssetSettings.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 140825c59dff30f4ebecb9ab06661447 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/AddressableAssetsData/AssetGroupTemplates.meta b/Assets/AddressableAssetsData/AssetGroupTemplates.meta new file mode 100644 index 0000000..c35e2bd --- /dev/null +++ b/Assets/AddressableAssetsData/AssetGroupTemplates.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: f49a6ba68d3eeb14e8ce5f37e5d6417b +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/AddressableAssetsData/AssetGroupTemplates/Packed Assets.asset b/Assets/AddressableAssetsData/AssetGroupTemplates/Packed Assets.asset new file mode 100644 index 0000000..a2157ba --- /dev/null +++ b/Assets/AddressableAssetsData/AssetGroupTemplates/Packed Assets.asset @@ -0,0 +1,76 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &-9186660386284837695 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: e5d17a21594effb4e9591490b009e7aa, type: 3} + m_Name: BundledAssetGroupSchema + m_EditorClassIdentifier: + m_Group: {fileID: 0} + m_InternalBundleIdMode: 1 + m_Compression: 1 + m_IncludeAddressInCatalog: 1 + m_IncludeGUIDInCatalog: 1 + m_IncludeLabelsInCatalog: 1 + m_InternalIdNamingMode: 0 + m_CacheClearBehavior: 0 + m_IncludeInBuild: 1 + m_BundledAssetProviderType: + m_AssemblyName: + m_ClassName: + m_ForceUniqueProvider: 0 + m_UseAssetBundleCache: 1 + m_UseAssetBundleCrc: 1 + m_UseAssetBundleCrcForCachedBundles: 1 + m_UseUWRForLocalBundles: 0 + m_Timeout: 0 + m_ChunkedTransfer: 0 + m_RedirectLimit: -1 + m_RetryCount: 0 + m_BuildPath: + m_Id: + m_LoadPath: + m_Id: + m_BundleMode: 0 + m_AssetBundleProviderType: + m_AssemblyName: + m_ClassName: + m_BundleNaming: 0 + m_AssetLoadMode: 0 +--- !u!114 &-1118817439182592731 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5834b5087d578d24c926ce20cd31e6d6, type: 3} + m_Name: ContentUpdateGroupSchema + m_EditorClassIdentifier: + m_Group: {fileID: 0} + m_StaticContent: 0 +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 1a3c5d64ac83548c09dd1678b9f6f1cd, type: 3} + m_Name: Packed Assets + m_EditorClassIdentifier: + m_SchemaObjects: + - {fileID: -9186660386284837695} + - {fileID: -1118817439182592731} + m_Description: Pack assets into asset bundles. + m_Settings: {fileID: 11400000, guid: 140825c59dff30f4ebecb9ab06661447, type: 2} diff --git a/Assets/AddressableAssetsData/AssetGroupTemplates/Packed Assets.asset.meta b/Assets/AddressableAssetsData/AssetGroupTemplates/Packed Assets.asset.meta new file mode 100644 index 0000000..0a51d63 --- /dev/null +++ b/Assets/AddressableAssetsData/AssetGroupTemplates/Packed Assets.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 374d9d58f0ac7644dbede58c28ffae41 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/AddressableAssetsData/AssetGroups.meta b/Assets/AddressableAssetsData/AssetGroups.meta new file mode 100644 index 0000000..416a6e5 --- /dev/null +++ b/Assets/AddressableAssetsData/AssetGroups.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 70097ea247a52d84483734b11c3f9c72 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/AddressableAssetsData/AssetGroups/AudioPrefabs.asset b/Assets/AddressableAssetsData/AssetGroups/AudioPrefabs.asset new file mode 100644 index 0000000..e6d0a66 --- /dev/null +++ b/Assets/AddressableAssetsData/AssetGroups/AudioPrefabs.asset @@ -0,0 +1,30 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: bbb281ee3bf0b054c82ac2347e9e782c, type: 3} + m_Name: AudioPrefabs + m_EditorClassIdentifier: + m_GroupName: AudioPrefabs + m_Data: + m_SerializedData: [] + m_GUID: 85067182f68d3cf49a0528634228a0ab + m_SerializeEntries: + - m_GUID: 72d7b614e797df247b55f5ab19c4cbac + m_Address: Audio + m_ReadOnly: 0 + m_SerializedLabels: [] + FlaggedDuringContentUpdateRestriction: 0 + m_ReadOnly: 0 + m_Settings: {fileID: 11400000, guid: 140825c59dff30f4ebecb9ab06661447, type: 2} + m_SchemaSet: + m_Schemas: + - {fileID: 11400000, guid: 0a7b11ac9e23af14f94a2d5689023aa6, type: 2} + - {fileID: 11400000, guid: ca988ad352a642e45bee96bcdde3f620, type: 2} diff --git a/Assets/AddressableAssetsData/AssetGroups/AudioPrefabs.asset.meta b/Assets/AddressableAssetsData/AssetGroups/AudioPrefabs.asset.meta new file mode 100644 index 0000000..489e58d --- /dev/null +++ b/Assets/AddressableAssetsData/AssetGroups/AudioPrefabs.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: a90eff43db4c6df42a85d804b62910a6 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/AddressableAssetsData/AssetGroups/Built In Data.asset b/Assets/AddressableAssetsData/AssetGroups/Built In Data.asset new file mode 100644 index 0000000..29735c5 --- /dev/null +++ b/Assets/AddressableAssetsData/AssetGroups/Built In Data.asset @@ -0,0 +1,34 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: bbb281ee3bf0b054c82ac2347e9e782c, type: 3} + m_Name: Built In Data + m_EditorClassIdentifier: + m_GroupName: Built In Data + m_Data: + m_SerializedData: [] + m_GUID: 5ce62d8591d9b7b44b0777c60ea64823 + m_SerializeEntries: + - m_GUID: Resources + m_Address: Resources + m_ReadOnly: 1 + m_SerializedLabels: [] + FlaggedDuringContentUpdateRestriction: 0 + - m_GUID: EditorSceneList + m_Address: EditorSceneList + m_ReadOnly: 1 + m_SerializedLabels: [] + FlaggedDuringContentUpdateRestriction: 0 + m_ReadOnly: 1 + m_Settings: {fileID: 11400000, guid: 140825c59dff30f4ebecb9ab06661447, type: 2} + m_SchemaSet: + m_Schemas: + - {fileID: 11400000, guid: 6922ad170908d9f40aef458fe4059c89, type: 2} diff --git a/Assets/AddressableAssetsData/AssetGroups/Built In Data.asset.meta b/Assets/AddressableAssetsData/AssetGroups/Built In Data.asset.meta new file mode 100644 index 0000000..26fa8ec --- /dev/null +++ b/Assets/AddressableAssetsData/AssetGroups/Built In Data.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 8fa4975dd9f4ddf43b477f49fb94aa8b +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/AddressableAssetsData/AssetGroups/Default Local Group.asset b/Assets/AddressableAssetsData/AssetGroups/Default Local Group.asset new file mode 100644 index 0000000..08d0229 --- /dev/null +++ b/Assets/AddressableAssetsData/AssetGroups/Default Local Group.asset @@ -0,0 +1,25 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: bbb281ee3bf0b054c82ac2347e9e782c, type: 3} + m_Name: Default Local Group + m_EditorClassIdentifier: + m_GroupName: Default Local Group + m_Data: + m_SerializedData: [] + m_GUID: a6a10e199b443454ba3e0754129e4913 + m_SerializeEntries: [] + m_ReadOnly: 0 + m_Settings: {fileID: 11400000, guid: 140825c59dff30f4ebecb9ab06661447, type: 2} + m_SchemaSet: + m_Schemas: + - {fileID: 11400000, guid: 6a35f9c99b3392e469b19b32f3fbbf9f, type: 2} + - {fileID: 11400000, guid: b6f016dfce5f3ac4e88f38d41e4d75bd, type: 2} diff --git a/Assets/AddressableAssetsData/AssetGroups/Default Local Group.asset.meta b/Assets/AddressableAssetsData/AssetGroups/Default Local Group.asset.meta new file mode 100644 index 0000000..f1eb462 --- /dev/null +++ b/Assets/AddressableAssetsData/AssetGroups/Default Local Group.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 69a211d9438e59142b89edfe89c27111 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/AddressableAssetsData/AssetGroups/MusicAssets.asset b/Assets/AddressableAssetsData/AssetGroups/MusicAssets.asset new file mode 100644 index 0000000..d1e316e --- /dev/null +++ b/Assets/AddressableAssetsData/AssetGroups/MusicAssets.asset @@ -0,0 +1,30 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: bbb281ee3bf0b054c82ac2347e9e782c, type: 3} + m_Name: MusicAssets + m_EditorClassIdentifier: + m_GroupName: MusicAssets + m_Data: + m_SerializedData: [] + m_GUID: 5db87fd199d7f9f438fbadaf19dca759 + m_SerializeEntries: + - m_GUID: 9ea1f0e86dead524cbe4a8bf9f050783 + m_Address: BGM + m_ReadOnly: 0 + m_SerializedLabels: [] + FlaggedDuringContentUpdateRestriction: 0 + m_ReadOnly: 0 + m_Settings: {fileID: 11400000, guid: 140825c59dff30f4ebecb9ab06661447, type: 2} + m_SchemaSet: + m_Schemas: + - {fileID: 11400000, guid: 3c04c1b05aacd4b43ae2e61aa36a61ff, type: 2} + - {fileID: 11400000, guid: dc730ccd8fc91534799a4d4e354acdc6, type: 2} diff --git a/Assets/AddressableAssetsData/AssetGroups/MusicAssets.asset.meta b/Assets/AddressableAssetsData/AssetGroups/MusicAssets.asset.meta new file mode 100644 index 0000000..bb7cb51 --- /dev/null +++ b/Assets/AddressableAssetsData/AssetGroups/MusicAssets.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: c2c5442912155b145b244854c84d0fb5 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/AddressableAssetsData/AssetGroups/MusicScriptableObjects.asset b/Assets/AddressableAssetsData/AssetGroups/MusicScriptableObjects.asset new file mode 100644 index 0000000..fa1a66e --- /dev/null +++ b/Assets/AddressableAssetsData/AssetGroups/MusicScriptableObjects.asset @@ -0,0 +1,30 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: bbb281ee3bf0b054c82ac2347e9e782c, type: 3} + m_Name: MusicScriptableObjects + m_EditorClassIdentifier: + m_GroupName: MusicScriptableObjects + m_Data: + m_SerializedData: [] + m_GUID: ce87228440ed2d947a3e14df58545956 + m_SerializeEntries: + - m_GUID: bbc1492c03e515d4f8a0891382b62eec + m_Address: BGM + m_ReadOnly: 0 + m_SerializedLabels: [] + FlaggedDuringContentUpdateRestriction: 0 + m_ReadOnly: 0 + m_Settings: {fileID: 11400000, guid: 140825c59dff30f4ebecb9ab06661447, type: 2} + m_SchemaSet: + m_Schemas: + - {fileID: 11400000, guid: a961ca1a31defb7458c24a8beef8f829, type: 2} + - {fileID: 11400000, guid: 62be09a601752d24f9b113a0fa38a986, type: 2} diff --git a/Assets/AddressableAssetsData/AssetGroups/MusicScriptableObjects.asset.meta b/Assets/AddressableAssetsData/AssetGroups/MusicScriptableObjects.asset.meta new file mode 100644 index 0000000..7f05bd0 --- /dev/null +++ b/Assets/AddressableAssetsData/AssetGroups/MusicScriptableObjects.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 4837ab92831c4904dbfa33a20760bec9 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/AddressableAssetsData/AssetGroups/Schemas.meta b/Assets/AddressableAssetsData/AssetGroups/Schemas.meta new file mode 100644 index 0000000..b0faf38 --- /dev/null +++ b/Assets/AddressableAssetsData/AssetGroups/Schemas.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 7f63ecf8f4ef5b84084d0bcd1385c010 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/AddressableAssetsData/AssetGroups/Schemas/AudioPrefabs_BundledAssetGroupSchema.asset b/Assets/AddressableAssetsData/AssetGroups/Schemas/AudioPrefabs_BundledAssetGroupSchema.asset new file mode 100644 index 0000000..b16aac3 --- /dev/null +++ b/Assets/AddressableAssetsData/AssetGroups/Schemas/AudioPrefabs_BundledAssetGroupSchema.asset @@ -0,0 +1,45 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: e5d17a21594effb4e9591490b009e7aa, type: 3} + m_Name: Packed Assets_BundledAssetGroupSchema + m_EditorClassIdentifier: + m_Group: {fileID: 11400000, guid: a90eff43db4c6df42a85d804b62910a6, type: 2} + m_InternalBundleIdMode: 1 + m_Compression: 1 + m_IncludeAddressInCatalog: 1 + m_IncludeGUIDInCatalog: 1 + m_IncludeLabelsInCatalog: 1 + m_InternalIdNamingMode: 0 + m_CacheClearBehavior: 0 + m_IncludeInBuild: 1 + m_BundledAssetProviderType: + m_AssemblyName: Unity.ResourceManager, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + m_ClassName: UnityEngine.ResourceManagement.ResourceProviders.BundledAssetProvider + m_ForceUniqueProvider: 0 + m_UseAssetBundleCache: 1 + m_UseAssetBundleCrc: 1 + m_UseAssetBundleCrcForCachedBundles: 1 + m_UseUWRForLocalBundles: 0 + m_Timeout: 0 + m_ChunkedTransfer: 0 + m_RedirectLimit: -1 + m_RetryCount: 0 + m_BuildPath: + m_Id: 598c1d56adf1a6546b5d3f6ec65d785b + m_LoadPath: + m_Id: e1129edad626c5a4d8ba45992b96932e + m_BundleMode: 1 + m_AssetBundleProviderType: + m_AssemblyName: Unity.ResourceManager, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + m_ClassName: UnityEngine.ResourceManagement.ResourceProviders.AssetBundleProvider + m_BundleNaming: 0 + m_AssetLoadMode: 0 diff --git a/Assets/AddressableAssetsData/AssetGroups/Schemas/AudioPrefabs_BundledAssetGroupSchema.asset.meta b/Assets/AddressableAssetsData/AssetGroups/Schemas/AudioPrefabs_BundledAssetGroupSchema.asset.meta new file mode 100644 index 0000000..ad414c6 --- /dev/null +++ b/Assets/AddressableAssetsData/AssetGroups/Schemas/AudioPrefabs_BundledAssetGroupSchema.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 0a7b11ac9e23af14f94a2d5689023aa6 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/AddressableAssetsData/AssetGroups/Schemas/AudioPrefabs_ContentUpdateGroupSchema.asset b/Assets/AddressableAssetsData/AssetGroups/Schemas/AudioPrefabs_ContentUpdateGroupSchema.asset new file mode 100644 index 0000000..6d8c525 --- /dev/null +++ b/Assets/AddressableAssetsData/AssetGroups/Schemas/AudioPrefabs_ContentUpdateGroupSchema.asset @@ -0,0 +1,16 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5834b5087d578d24c926ce20cd31e6d6, type: 3} + m_Name: AudioPrefabs_ContentUpdateGroupSchema + m_EditorClassIdentifier: + m_Group: {fileID: 11400000, guid: a90eff43db4c6df42a85d804b62910a6, type: 2} + m_StaticContent: 0 diff --git a/Assets/AddressableAssetsData/AssetGroups/Schemas/AudioPrefabs_ContentUpdateGroupSchema.asset.meta b/Assets/AddressableAssetsData/AssetGroups/Schemas/AudioPrefabs_ContentUpdateGroupSchema.asset.meta new file mode 100644 index 0000000..5d81342 --- /dev/null +++ b/Assets/AddressableAssetsData/AssetGroups/Schemas/AudioPrefabs_ContentUpdateGroupSchema.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: ca988ad352a642e45bee96bcdde3f620 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/AddressableAssetsData/AssetGroups/Schemas/Built In Data_PlayerDataGroupSchema.asset b/Assets/AddressableAssetsData/AssetGroups/Schemas/Built In Data_PlayerDataGroupSchema.asset new file mode 100644 index 0000000..27cd0f0 --- /dev/null +++ b/Assets/AddressableAssetsData/AssetGroups/Schemas/Built In Data_PlayerDataGroupSchema.asset @@ -0,0 +1,17 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: b1487f5d688e4f94f828f879d599dbdc, type: 3} + m_Name: Built In Data_PlayerDataGroupSchema + m_EditorClassIdentifier: + m_Group: {fileID: 11400000, guid: 8fa4975dd9f4ddf43b477f49fb94aa8b, type: 2} + m_IncludeResourcesFolders: 1 + m_IncludeBuildSettingsScenes: 1 diff --git a/Assets/AddressableAssetsData/AssetGroups/Schemas/Built In Data_PlayerDataGroupSchema.asset.meta b/Assets/AddressableAssetsData/AssetGroups/Schemas/Built In Data_PlayerDataGroupSchema.asset.meta new file mode 100644 index 0000000..446e888 --- /dev/null +++ b/Assets/AddressableAssetsData/AssetGroups/Schemas/Built In Data_PlayerDataGroupSchema.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 6922ad170908d9f40aef458fe4059c89 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/AddressableAssetsData/AssetGroups/Schemas/Default Local Group_BundledAssetGroupSchema.asset b/Assets/AddressableAssetsData/AssetGroups/Schemas/Default Local Group_BundledAssetGroupSchema.asset new file mode 100644 index 0000000..82e072e --- /dev/null +++ b/Assets/AddressableAssetsData/AssetGroups/Schemas/Default Local Group_BundledAssetGroupSchema.asset @@ -0,0 +1,45 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: e5d17a21594effb4e9591490b009e7aa, type: 3} + m_Name: Default Local Group_BundledAssetGroupSchema + m_EditorClassIdentifier: + m_Group: {fileID: 11400000, guid: 69a211d9438e59142b89edfe89c27111, type: 2} + m_InternalBundleIdMode: 1 + m_Compression: 1 + m_IncludeAddressInCatalog: 1 + m_IncludeGUIDInCatalog: 1 + m_IncludeLabelsInCatalog: 1 + m_InternalIdNamingMode: 0 + m_CacheClearBehavior: 0 + m_IncludeInBuild: 1 + m_BundledAssetProviderType: + m_AssemblyName: Unity.ResourceManager, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + m_ClassName: UnityEngine.ResourceManagement.ResourceProviders.BundledAssetProvider + m_ForceUniqueProvider: 0 + m_UseAssetBundleCache: 1 + m_UseAssetBundleCrc: 1 + m_UseAssetBundleCrcForCachedBundles: 1 + m_UseUWRForLocalBundles: 0 + m_Timeout: 0 + m_ChunkedTransfer: 0 + m_RedirectLimit: -1 + m_RetryCount: 0 + m_BuildPath: + m_Id: 598c1d56adf1a6546b5d3f6ec65d785b + m_LoadPath: + m_Id: e1129edad626c5a4d8ba45992b96932e + m_BundleMode: 0 + m_AssetBundleProviderType: + m_AssemblyName: Unity.ResourceManager, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + m_ClassName: UnityEngine.ResourceManagement.ResourceProviders.AssetBundleProvider + m_BundleNaming: 0 + m_AssetLoadMode: 0 diff --git a/Assets/AddressableAssetsData/AssetGroups/Schemas/Default Local Group_BundledAssetGroupSchema.asset.meta b/Assets/AddressableAssetsData/AssetGroups/Schemas/Default Local Group_BundledAssetGroupSchema.asset.meta new file mode 100644 index 0000000..6aa4eb9 --- /dev/null +++ b/Assets/AddressableAssetsData/AssetGroups/Schemas/Default Local Group_BundledAssetGroupSchema.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: b6f016dfce5f3ac4e88f38d41e4d75bd +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/AddressableAssetsData/AssetGroups/Schemas/Default Local Group_ContentUpdateGroupSchema.asset b/Assets/AddressableAssetsData/AssetGroups/Schemas/Default Local Group_ContentUpdateGroupSchema.asset new file mode 100644 index 0000000..fcd161e --- /dev/null +++ b/Assets/AddressableAssetsData/AssetGroups/Schemas/Default Local Group_ContentUpdateGroupSchema.asset @@ -0,0 +1,16 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5834b5087d578d24c926ce20cd31e6d6, type: 3} + m_Name: Default Local Group_ContentUpdateGroupSchema + m_EditorClassIdentifier: + m_Group: {fileID: 11400000, guid: 69a211d9438e59142b89edfe89c27111, type: 2} + m_StaticContent: 0 diff --git a/Assets/AddressableAssetsData/AssetGroups/Schemas/Default Local Group_ContentUpdateGroupSchema.asset.meta b/Assets/AddressableAssetsData/AssetGroups/Schemas/Default Local Group_ContentUpdateGroupSchema.asset.meta new file mode 100644 index 0000000..c68982d --- /dev/null +++ b/Assets/AddressableAssetsData/AssetGroups/Schemas/Default Local Group_ContentUpdateGroupSchema.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 6a35f9c99b3392e469b19b32f3fbbf9f +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/AddressableAssetsData/AssetGroups/Schemas/MusicAssets_BundledAssetGroupSchema.asset b/Assets/AddressableAssetsData/AssetGroups/Schemas/MusicAssets_BundledAssetGroupSchema.asset new file mode 100644 index 0000000..2e0e268 --- /dev/null +++ b/Assets/AddressableAssetsData/AssetGroups/Schemas/MusicAssets_BundledAssetGroupSchema.asset @@ -0,0 +1,45 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: e5d17a21594effb4e9591490b009e7aa, type: 3} + m_Name: MusicAssets_BundledAssetGroupSchema + m_EditorClassIdentifier: + m_Group: {fileID: 11400000, guid: c2c5442912155b145b244854c84d0fb5, type: 2} + m_InternalBundleIdMode: 1 + m_Compression: 1 + m_IncludeAddressInCatalog: 1 + m_IncludeGUIDInCatalog: 1 + m_IncludeLabelsInCatalog: 1 + m_InternalIdNamingMode: 0 + m_CacheClearBehavior: 0 + m_IncludeInBuild: 1 + m_BundledAssetProviderType: + m_AssemblyName: Unity.ResourceManager, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + m_ClassName: UnityEngine.ResourceManagement.ResourceProviders.BundledAssetProvider + m_ForceUniqueProvider: 0 + m_UseAssetBundleCache: 1 + m_UseAssetBundleCrc: 1 + m_UseAssetBundleCrcForCachedBundles: 1 + m_UseUWRForLocalBundles: 0 + m_Timeout: 0 + m_ChunkedTransfer: 0 + m_RedirectLimit: -1 + m_RetryCount: 0 + m_BuildPath: + m_Id: 598c1d56adf1a6546b5d3f6ec65d785b + m_LoadPath: + m_Id: e1129edad626c5a4d8ba45992b96932e + m_BundleMode: 1 + m_AssetBundleProviderType: + m_AssemblyName: Unity.ResourceManager, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + m_ClassName: UnityEngine.ResourceManagement.ResourceProviders.AssetBundleProvider + m_BundleNaming: 0 + m_AssetLoadMode: 0 diff --git a/Assets/AddressableAssetsData/AssetGroups/Schemas/MusicAssets_BundledAssetGroupSchema.asset.meta b/Assets/AddressableAssetsData/AssetGroups/Schemas/MusicAssets_BundledAssetGroupSchema.asset.meta new file mode 100644 index 0000000..53830ac --- /dev/null +++ b/Assets/AddressableAssetsData/AssetGroups/Schemas/MusicAssets_BundledAssetGroupSchema.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 3c04c1b05aacd4b43ae2e61aa36a61ff +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/AddressableAssetsData/AssetGroups/Schemas/MusicAssets_ContentUpdateGroupSchema.asset b/Assets/AddressableAssetsData/AssetGroups/Schemas/MusicAssets_ContentUpdateGroupSchema.asset new file mode 100644 index 0000000..e35d479 --- /dev/null +++ b/Assets/AddressableAssetsData/AssetGroups/Schemas/MusicAssets_ContentUpdateGroupSchema.asset @@ -0,0 +1,16 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5834b5087d578d24c926ce20cd31e6d6, type: 3} + m_Name: MusicAssets_ContentUpdateGroupSchema + m_EditorClassIdentifier: + m_Group: {fileID: 11400000, guid: c2c5442912155b145b244854c84d0fb5, type: 2} + m_StaticContent: 0 diff --git a/Assets/AddressableAssetsData/AssetGroups/Schemas/MusicAssets_ContentUpdateGroupSchema.asset.meta b/Assets/AddressableAssetsData/AssetGroups/Schemas/MusicAssets_ContentUpdateGroupSchema.asset.meta new file mode 100644 index 0000000..05c3b69 --- /dev/null +++ b/Assets/AddressableAssetsData/AssetGroups/Schemas/MusicAssets_ContentUpdateGroupSchema.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: dc730ccd8fc91534799a4d4e354acdc6 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/AddressableAssetsData/AssetGroups/Schemas/MusicScriptableObjects_BundledAssetGroupSchema.asset b/Assets/AddressableAssetsData/AssetGroups/Schemas/MusicScriptableObjects_BundledAssetGroupSchema.asset new file mode 100644 index 0000000..f6492b6 --- /dev/null +++ b/Assets/AddressableAssetsData/AssetGroups/Schemas/MusicScriptableObjects_BundledAssetGroupSchema.asset @@ -0,0 +1,45 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: e5d17a21594effb4e9591490b009e7aa, type: 3} + m_Name: Packed Assets_BundledAssetGroupSchema + m_EditorClassIdentifier: + m_Group: {fileID: 11400000, guid: 4837ab92831c4904dbfa33a20760bec9, type: 2} + m_InternalBundleIdMode: 1 + m_Compression: 1 + m_IncludeAddressInCatalog: 1 + m_IncludeGUIDInCatalog: 1 + m_IncludeLabelsInCatalog: 1 + m_InternalIdNamingMode: 0 + m_CacheClearBehavior: 0 + m_IncludeInBuild: 1 + m_BundledAssetProviderType: + m_AssemblyName: Unity.ResourceManager, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + m_ClassName: UnityEngine.ResourceManagement.ResourceProviders.BundledAssetProvider + m_ForceUniqueProvider: 0 + m_UseAssetBundleCache: 1 + m_UseAssetBundleCrc: 1 + m_UseAssetBundleCrcForCachedBundles: 1 + m_UseUWRForLocalBundles: 0 + m_Timeout: 0 + m_ChunkedTransfer: 0 + m_RedirectLimit: -1 + m_RetryCount: 0 + m_BuildPath: + m_Id: 598c1d56adf1a6546b5d3f6ec65d785b + m_LoadPath: + m_Id: e1129edad626c5a4d8ba45992b96932e + m_BundleMode: 1 + m_AssetBundleProviderType: + m_AssemblyName: Unity.ResourceManager, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + m_ClassName: UnityEngine.ResourceManagement.ResourceProviders.AssetBundleProvider + m_BundleNaming: 0 + m_AssetLoadMode: 0 diff --git a/Assets/AddressableAssetsData/AssetGroups/Schemas/MusicScriptableObjects_BundledAssetGroupSchema.asset.meta b/Assets/AddressableAssetsData/AssetGroups/Schemas/MusicScriptableObjects_BundledAssetGroupSchema.asset.meta new file mode 100644 index 0000000..b16211c --- /dev/null +++ b/Assets/AddressableAssetsData/AssetGroups/Schemas/MusicScriptableObjects_BundledAssetGroupSchema.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: a961ca1a31defb7458c24a8beef8f829 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/AddressableAssetsData/AssetGroups/Schemas/MusicScriptableObjects_ContentUpdateGroupSchema.asset b/Assets/AddressableAssetsData/AssetGroups/Schemas/MusicScriptableObjects_ContentUpdateGroupSchema.asset new file mode 100644 index 0000000..971f2b4 --- /dev/null +++ b/Assets/AddressableAssetsData/AssetGroups/Schemas/MusicScriptableObjects_ContentUpdateGroupSchema.asset @@ -0,0 +1,16 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5834b5087d578d24c926ce20cd31e6d6, type: 3} + m_Name: MusicScriptableObjects_ContentUpdateGroupSchema + m_EditorClassIdentifier: + m_Group: {fileID: 11400000, guid: 4837ab92831c4904dbfa33a20760bec9, type: 2} + m_StaticContent: 0 diff --git a/Assets/AddressableAssetsData/AssetGroups/Schemas/MusicScriptableObjects_ContentUpdateGroupSchema.asset.meta b/Assets/AddressableAssetsData/AssetGroups/Schemas/MusicScriptableObjects_ContentUpdateGroupSchema.asset.meta new file mode 100644 index 0000000..17ce2bd --- /dev/null +++ b/Assets/AddressableAssetsData/AssetGroups/Schemas/MusicScriptableObjects_ContentUpdateGroupSchema.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 62be09a601752d24f9b113a0fa38a986 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/AddressableAssetsData/DataBuilders.meta b/Assets/AddressableAssetsData/DataBuilders.meta new file mode 100644 index 0000000..b825db5 --- /dev/null +++ b/Assets/AddressableAssetsData/DataBuilders.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 0a8e9188afe1cf8469884ebe8d8fc9a3 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/AddressableAssetsData/DataBuilders/BuildScriptFastMode.asset b/Assets/AddressableAssetsData/DataBuilders/BuildScriptFastMode.asset new file mode 100644 index 0000000..50d30dc --- /dev/null +++ b/Assets/AddressableAssetsData/DataBuilders/BuildScriptFastMode.asset @@ -0,0 +1,20 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 88d21199f5d473f4db36845f2318f180, type: 3} + m_Name: BuildScriptFastMode + m_EditorClassIdentifier: + instanceProviderType: + m_AssemblyName: Unity.ResourceManager, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + m_ClassName: UnityEngine.ResourceManagement.ResourceProviders.InstanceProvider + sceneProviderType: + m_AssemblyName: Unity.ResourceManager, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + m_ClassName: UnityEngine.ResourceManagement.ResourceProviders.SceneProvider diff --git a/Assets/AddressableAssetsData/DataBuilders/BuildScriptFastMode.asset.meta b/Assets/AddressableAssetsData/DataBuilders/BuildScriptFastMode.asset.meta new file mode 100644 index 0000000..e42ee93 --- /dev/null +++ b/Assets/AddressableAssetsData/DataBuilders/BuildScriptFastMode.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 11becb4099c8df44490b93ea224699ca +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/AddressableAssetsData/DataBuilders/BuildScriptPackedMode.asset b/Assets/AddressableAssetsData/DataBuilders/BuildScriptPackedMode.asset new file mode 100644 index 0000000..ec875f9 --- /dev/null +++ b/Assets/AddressableAssetsData/DataBuilders/BuildScriptPackedMode.asset @@ -0,0 +1,20 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3e2e0ffa088c91d41a086d0b8cb16bdc, type: 3} + m_Name: BuildScriptPackedMode + m_EditorClassIdentifier: + instanceProviderType: + m_AssemblyName: Unity.ResourceManager, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + m_ClassName: UnityEngine.ResourceManagement.ResourceProviders.InstanceProvider + sceneProviderType: + m_AssemblyName: Unity.ResourceManager, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + m_ClassName: UnityEngine.ResourceManagement.ResourceProviders.SceneProvider diff --git a/Assets/AddressableAssetsData/DataBuilders/BuildScriptPackedMode.asset.meta b/Assets/AddressableAssetsData/DataBuilders/BuildScriptPackedMode.asset.meta new file mode 100644 index 0000000..3952b19 --- /dev/null +++ b/Assets/AddressableAssetsData/DataBuilders/BuildScriptPackedMode.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: f731e37ff642a304fb0d320d7a79c59c +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/AddressableAssetsData/DataBuilders/BuildScriptPackedPlayMode.asset b/Assets/AddressableAssetsData/DataBuilders/BuildScriptPackedPlayMode.asset new file mode 100644 index 0000000..7628845 --- /dev/null +++ b/Assets/AddressableAssetsData/DataBuilders/BuildScriptPackedPlayMode.asset @@ -0,0 +1,20 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: ad8c280d42ee0ed41a27db23b43dd2bf, type: 3} + m_Name: BuildScriptPackedPlayMode + m_EditorClassIdentifier: + instanceProviderType: + m_AssemblyName: Unity.ResourceManager, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + m_ClassName: UnityEngine.ResourceManagement.ResourceProviders.InstanceProvider + sceneProviderType: + m_AssemblyName: Unity.ResourceManager, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + m_ClassName: UnityEngine.ResourceManagement.ResourceProviders.SceneProvider diff --git a/Assets/AddressableAssetsData/DataBuilders/BuildScriptPackedPlayMode.asset.meta b/Assets/AddressableAssetsData/DataBuilders/BuildScriptPackedPlayMode.asset.meta new file mode 100644 index 0000000..9a3021f --- /dev/null +++ b/Assets/AddressableAssetsData/DataBuilders/BuildScriptPackedPlayMode.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: f2a5cc655cd4dfb41a731284717df198 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/AddressableAssetsData/DataBuilders/BuildScriptVirtualMode.asset b/Assets/AddressableAssetsData/DataBuilders/BuildScriptVirtualMode.asset new file mode 100644 index 0000000..dfb2d58 --- /dev/null +++ b/Assets/AddressableAssetsData/DataBuilders/BuildScriptVirtualMode.asset @@ -0,0 +1,20 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: bb0e4994b34add1409fd8ccaf4a82de5, type: 3} + m_Name: BuildScriptVirtualMode + m_EditorClassIdentifier: + instanceProviderType: + m_AssemblyName: Unity.ResourceManager, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + m_ClassName: UnityEngine.ResourceManagement.ResourceProviders.InstanceProvider + sceneProviderType: + m_AssemblyName: Unity.ResourceManager, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + m_ClassName: UnityEngine.ResourceManagement.ResourceProviders.SceneProvider diff --git a/Assets/AddressableAssetsData/DataBuilders/BuildScriptVirtualMode.asset.meta b/Assets/AddressableAssetsData/DataBuilders/BuildScriptVirtualMode.asset.meta new file mode 100644 index 0000000..44c84cd --- /dev/null +++ b/Assets/AddressableAssetsData/DataBuilders/BuildScriptVirtualMode.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: d1c6eda11669e6e408e233335cd02339 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/AddressableAssetsData/DefaultObject.asset b/Assets/AddressableAssetsData/DefaultObject.asset new file mode 100644 index 0000000..6a39b47 --- /dev/null +++ b/Assets/AddressableAssetsData/DefaultObject.asset @@ -0,0 +1,15 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3a189bb168d8d90478a09ea08c2f3d72, type: 3} + m_Name: DefaultObject + m_EditorClassIdentifier: + m_AddressableAssetSettingsGuid: 140825c59dff30f4ebecb9ab06661447 diff --git a/Assets/AddressableAssetsData/DefaultObject.asset.meta b/Assets/AddressableAssetsData/DefaultObject.asset.meta new file mode 100644 index 0000000..753f79a --- /dev/null +++ b/Assets/AddressableAssetsData/DefaultObject.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 1cbba50b182a88640a9e43e5f84e85b9 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Data.meta b/Assets/Data.meta new file mode 100644 index 0000000..f40453b --- /dev/null +++ b/Assets/Data.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: bece973d494dffc469b290e7dad90b12 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Data/Audio.meta b/Assets/Data/Audio.meta new file mode 100644 index 0000000..f88ad13 --- /dev/null +++ b/Assets/Data/Audio.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: b5a8b97b9a67c334ea7a5257c76542a0 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Data/Audio/BGM.meta b/Assets/Data/Audio/BGM.meta new file mode 100644 index 0000000..93d5c35 --- /dev/null +++ b/Assets/Data/Audio/BGM.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 9ea1f0e86dead524cbe4a8bf9f050783 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Data/Audio/BGM/coco.mp3 b/Assets/Data/Audio/BGM/coco.mp3 new file mode 100644 index 0000000..7caf4f4 Binary files /dev/null and b/Assets/Data/Audio/BGM/coco.mp3 differ diff --git a/Assets/Data/Audio/BGM/coco.mp3.meta b/Assets/Data/Audio/BGM/coco.mp3.meta new file mode 100644 index 0000000..97cc34c --- /dev/null +++ b/Assets/Data/Audio/BGM/coco.mp3.meta @@ -0,0 +1,23 @@ +fileFormatVersion: 2 +guid: 869d88d8bf3dccb479ce975bd4122373 +AudioImporter: + externalObjects: {} + serializedVersion: 7 + defaultSettings: + serializedVersion: 2 + loadType: 0 + sampleRateSetting: 0 + sampleRateOverride: 44100 + compressionFormat: 1 + quality: 1 + conversionMode: 0 + preloadAudioData: 0 + platformSettingOverrides: {} + forceToMono: 0 + normalize: 1 + loadInBackground: 0 + ambisonic: 0 + 3D: 1 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Events.meta b/Assets/Events.meta new file mode 100644 index 0000000..1ae020b --- /dev/null +++ b/Assets/Events.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 326d8bc98e18cc64db52b800db70e432 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Events/Audio.meta b/Assets/Events/Audio.meta new file mode 100644 index 0000000..1b15b4c --- /dev/null +++ b/Assets/Events/Audio.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: e334707f74449c34f9f20cb973034d2b +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Events/Audio/PlayMusicChannel.asset b/Assets/Events/Audio/PlayMusicChannel.asset new file mode 100644 index 0000000..f148855 --- /dev/null +++ b/Assets/Events/Audio/PlayMusicChannel.asset @@ -0,0 +1,14 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: e853e723cfbf4e7da615b054cfc4db64, type: 3} + m_Name: PlayMusicChannel + m_EditorClassIdentifier: diff --git a/Assets/Events/Audio/PlayMusicChannel.asset.meta b/Assets/Events/Audio/PlayMusicChannel.asset.meta new file mode 100644 index 0000000..65256d8 --- /dev/null +++ b/Assets/Events/Audio/PlayMusicChannel.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: d4a1ab99002686347aa83683e22ea4c9 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Prefabs.meta b/Assets/Prefabs.meta new file mode 100644 index 0000000..9fbdd85 --- /dev/null +++ b/Assets/Prefabs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 216208ad6a329e542ae1090b5ca0d9ee +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Prefabs/Audio.meta b/Assets/Prefabs/Audio.meta new file mode 100644 index 0000000..6af839a --- /dev/null +++ b/Assets/Prefabs/Audio.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 72d7b614e797df247b55f5ab19c4cbac +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Prefabs/Audio/AudioManager.prefab b/Assets/Prefabs/Audio/AudioManager.prefab new file mode 100644 index 0000000..5d4341d --- /dev/null +++ b/Assets/Prefabs/Audio/AudioManager.prefab @@ -0,0 +1,47 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1 &2495747493876295631 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 8683984623389327866} + - component: {fileID: 8029590146148956303} + m_Layer: 0 + m_Name: AudioManager + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &8683984623389327866 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2495747493876295631} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &8029590146148956303 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2495747493876295631} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 1c78340c157f82a4180e563ecf5962c3, type: 3} + m_Name: + m_EditorClassIdentifier: + _musicEventChannel: {fileID: 11400000, guid: d4a1ab99002686347aa83683e22ea4c9, type: 2} diff --git a/Assets/Prefabs/Audio/AudioManager.prefab.meta b/Assets/Prefabs/Audio/AudioManager.prefab.meta new file mode 100644 index 0000000..daaa8a6 --- /dev/null +++ b/Assets/Prefabs/Audio/AudioManager.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 367a3aea81f87844c8a9c1454fce8d1f +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Prefabs/Audio/PlayBGM.prefab b/Assets/Prefabs/Audio/PlayBGM.prefab new file mode 100644 index 0000000..983e7db --- /dev/null +++ b/Assets/Prefabs/Audio/PlayBGM.prefab @@ -0,0 +1,48 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1 &4611095384279485090 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 7932684231192047496} + - component: {fileID: 2562790482221263767} + m_Layer: 0 + m_Name: PlayBGM + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &7932684231192047496 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4611095384279485090} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &2562790482221263767 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4611095384279485090} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 0d6850f2c7ee4c948d04f54421a5f359, type: 3} + m_Name: + m_EditorClassIdentifier: + _musicEventChannel: {fileID: 11400000, guid: d4a1ab99002686347aa83683e22ea4c9, type: 2} + MusicTrack: {fileID: 11400000, guid: 3ef5f4ffd0dde264eb3f0f45ca6f6d77, type: 2} diff --git a/Assets/Prefabs/Audio/PlayBGM.prefab.meta b/Assets/Prefabs/Audio/PlayBGM.prefab.meta new file mode 100644 index 0000000..b521c16 --- /dev/null +++ b/Assets/Prefabs/Audio/PlayBGM.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: c9bf6a9e0f8b04a49b050c870e2836f8 +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Prefabs/Audio/SoundEmitter.prefab b/Assets/Prefabs/Audio/SoundEmitter.prefab new file mode 100644 index 0000000..13df572 --- /dev/null +++ b/Assets/Prefabs/Audio/SoundEmitter.prefab @@ -0,0 +1,144 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1 &5853186800503958401 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 9059346509536669517} + - component: {fileID: 7113075308966236346} + - component: {fileID: 4367108581900793607} + m_Layer: 0 + m_Name: SoundEmitter + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &9059346509536669517 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5853186800503958401} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!82 &7113075308966236346 +AudioSource: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5853186800503958401} + m_Enabled: 1 + serializedVersion: 4 + OutputAudioMixerGroup: {fileID: 0} + m_audioClip: {fileID: 0} + m_PlayOnAwake: 1 + m_Volume: 1 + m_Pitch: 1 + Loop: 0 + Mute: 0 + Spatialize: 0 + SpatializePostEffects: 0 + Priority: 128 + DopplerLevel: 1 + MinDistance: 1 + MaxDistance: 500 + Pan2D: 0 + rolloffMode: 0 + BypassEffects: 0 + BypassListenerEffects: 0 + BypassReverbZones: 0 + rolloffCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + - serializedVersion: 3 + time: 1 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + panLevelCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + spreadCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + reverbZoneMixCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 +--- !u!114 &4367108581900793607 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5853186800503958401} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 76e0b6e43a6b4db79a466d5fc32e0f61, type: 3} + m_Name: + m_EditorClassIdentifier: + _audioSource: {fileID: 7113075308966236346} diff --git a/Assets/Prefabs/Audio/SoundEmitter.prefab.meta b/Assets/Prefabs/Audio/SoundEmitter.prefab.meta new file mode 100644 index 0000000..6db0489 --- /dev/null +++ b/Assets/Prefabs/Audio/SoundEmitter.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: cfe0c4e0865e4374b93e8f32ef301852 +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scenes/SampleScene.unity b/Assets/Scenes/SampleScene.unity deleted file mode 100644 index 2221b04..0000000 --- a/Assets/Scenes/SampleScene.unity +++ /dev/null @@ -1,267 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!29 &1 -OcclusionCullingSettings: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_OcclusionBakeSettings: - smallestOccluder: 5 - smallestHole: 0.25 - backfaceThreshold: 100 - m_SceneGUID: 00000000000000000000000000000000 - m_OcclusionCullingData: {fileID: 0} ---- !u!104 &2 -RenderSettings: - m_ObjectHideFlags: 0 - serializedVersion: 9 - m_Fog: 0 - m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} - m_FogMode: 3 - m_FogDensity: 0.01 - m_LinearFogStart: 0 - m_LinearFogEnd: 300 - m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1} - m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} - m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} - m_AmbientIntensity: 1 - m_AmbientMode: 0 - m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} - m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0} - m_HaloStrength: 0.5 - m_FlareStrength: 1 - m_FlareFadeSpeed: 3 - m_HaloTexture: {fileID: 0} - m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} - m_DefaultReflectionMode: 0 - m_DefaultReflectionResolution: 128 - m_ReflectionBounces: 1 - m_ReflectionIntensity: 1 - m_CustomReflection: {fileID: 0} - m_Sun: {fileID: 705507994} - m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1} - m_UseRadianceAmbientProbe: 0 ---- !u!157 &3 -LightmapSettings: - m_ObjectHideFlags: 0 - serializedVersion: 12 - m_GIWorkflowMode: 1 - m_GISettings: - serializedVersion: 2 - m_BounceScale: 1 - m_IndirectOutputScale: 1 - m_AlbedoBoost: 1 - m_EnvironmentLightingMode: 0 - m_EnableBakedLightmaps: 1 - m_EnableRealtimeLightmaps: 0 - m_LightmapEditorSettings: - serializedVersion: 12 - m_Resolution: 2 - m_BakeResolution: 40 - m_AtlasSize: 1024 - m_AO: 0 - m_AOMaxDistance: 1 - m_CompAOExponent: 1 - m_CompAOExponentDirect: 0 - m_ExtractAmbientOcclusion: 0 - m_Padding: 2 - m_LightmapParameters: {fileID: 0} - m_LightmapsBakeMode: 1 - m_TextureCompression: 1 - m_FinalGather: 0 - m_FinalGatherFiltering: 1 - m_FinalGatherRayCount: 256 - m_ReflectionCompression: 2 - m_MixedBakeMode: 2 - m_BakeBackend: 1 - m_PVRSampling: 1 - m_PVRDirectSampleCount: 32 - m_PVRSampleCount: 500 - m_PVRBounces: 2 - m_PVREnvironmentSampleCount: 500 - m_PVREnvironmentReferencePointCount: 2048 - m_PVRFilteringMode: 2 - m_PVRDenoiserTypeDirect: 0 - m_PVRDenoiserTypeIndirect: 0 - m_PVRDenoiserTypeAO: 0 - m_PVRFilterTypeDirect: 0 - m_PVRFilterTypeIndirect: 0 - m_PVRFilterTypeAO: 0 - m_PVREnvironmentMIS: 0 - m_PVRCulling: 1 - m_PVRFilteringGaussRadiusDirect: 1 - m_PVRFilteringGaussRadiusIndirect: 5 - m_PVRFilteringGaussRadiusAO: 2 - m_PVRFilteringAtrousPositionSigmaDirect: 0.5 - m_PVRFilteringAtrousPositionSigmaIndirect: 2 - m_PVRFilteringAtrousPositionSigmaAO: 1 - m_ExportTrainingData: 0 - m_TrainingDataDestination: TrainingData - m_LightProbeSampleCountMultiplier: 4 - m_LightingDataAsset: {fileID: 0} - m_LightingSettings: {fileID: 0} ---- !u!196 &4 -NavMeshSettings: - serializedVersion: 2 - m_ObjectHideFlags: 0 - m_BuildSettings: - serializedVersion: 2 - agentTypeID: 0 - agentRadius: 0.5 - agentHeight: 2 - agentSlope: 45 - agentClimb: 0.4 - ledgeDropHeight: 0 - maxJumpAcrossDistance: 0 - minRegionArea: 2 - manualCellSize: 0 - cellSize: 0.16666667 - manualTileSize: 0 - tileSize: 256 - accuratePlacement: 0 - debug: - m_Flags: 0 - m_NavMeshData: {fileID: 0} ---- !u!1 &705507993 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 705507995} - - component: {fileID: 705507994} - m_Layer: 0 - m_Name: Directional Light - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!108 &705507994 -Light: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 705507993} - m_Enabled: 1 - serializedVersion: 8 - m_Type: 1 - m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1} - m_Intensity: 1 - m_Range: 10 - m_SpotAngle: 30 - m_CookieSize: 10 - m_Shadows: - m_Type: 2 - m_Resolution: -1 - m_CustomResolution: -1 - m_Strength: 1 - m_Bias: 0.05 - m_NormalBias: 0.4 - m_NearPlane: 0.2 - m_Cookie: {fileID: 0} - m_DrawHalo: 0 - m_Flare: {fileID: 0} - m_RenderMode: 0 - m_CullingMask: - serializedVersion: 2 - m_Bits: 4294967295 - m_Lightmapping: 1 - m_LightShadowCasterMode: 0 - m_AreaSize: {x: 1, y: 1} - m_BounceIntensity: 1 - m_ColorTemperature: 6570 - m_UseColorTemperature: 0 - m_ShadowRadius: 0 - m_ShadowAngle: 0 ---- !u!4 &705507995 -Transform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 705507993} - m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261} - m_LocalPosition: {x: 0, y: 3, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_Children: [] - m_Father: {fileID: 0} - m_RootOrder: 1 - m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0} ---- !u!1 &963194225 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 963194228} - - component: {fileID: 963194227} - - component: {fileID: 963194226} - m_Layer: 0 - m_Name: Main Camera - m_TagString: MainCamera - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!81 &963194226 -AudioListener: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 963194225} - m_Enabled: 1 ---- !u!20 &963194227 -Camera: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 963194225} - m_Enabled: 1 - serializedVersion: 2 - m_ClearFlags: 1 - m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0} - m_projectionMatrixMode: 1 - m_SensorSize: {x: 36, y: 24} - m_LensShift: {x: 0, y: 0} - m_GateFitMode: 2 - m_FocalLength: 50 - m_NormalizedViewPortRect: - serializedVersion: 2 - x: 0 - y: 0 - width: 1 - height: 1 - near clip plane: 0.3 - far clip plane: 1000 - field of view: 60 - orthographic: 0 - orthographic size: 5 - m_Depth: -1 - m_CullingMask: - serializedVersion: 2 - m_Bits: 4294967295 - m_RenderingPath: -1 - m_TargetTexture: {fileID: 0} - m_TargetDisplay: 0 - m_TargetEye: 3 - m_HDR: 1 - m_AllowMSAA: 1 - m_AllowDynamicResolution: 0 - m_ForceIntoRT: 0 - m_OcclusionCulling: 1 - m_StereoConvergence: 10 - m_StereoSeparation: 0.022 ---- !u!4 &963194228 -Transform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 963194225} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 1, z: -10} - m_LocalScale: {x: 1, y: 1, z: 1} - m_Children: [] - m_Father: {fileID: 0} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} diff --git a/Assets/Scenes/WIP.meta b/Assets/Scenes/WIP.meta new file mode 100644 index 0000000..dd2bb74 --- /dev/null +++ b/Assets/Scenes/WIP.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 84d9017d4adecd04b81a9a6f81931f31 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scenes/WIP/AudioTestScene.unity b/Assets/Scenes/WIP/AudioTestScene.unity new file mode 100644 index 0000000..b8111cd --- /dev/null +++ b/Assets/Scenes/WIP/AudioTestScene.unity @@ -0,0 +1,396 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!29 &1 +OcclusionCullingSettings: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_OcclusionBakeSettings: + smallestOccluder: 5 + smallestHole: 0.25 + backfaceThreshold: 100 + m_SceneGUID: 00000000000000000000000000000000 + m_OcclusionCullingData: {fileID: 0} +--- !u!104 &2 +RenderSettings: + m_ObjectHideFlags: 0 + serializedVersion: 9 + m_Fog: 0 + m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} + m_FogMode: 3 + m_FogDensity: 0.01 + m_LinearFogStart: 0 + m_LinearFogEnd: 300 + m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1} + m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} + m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} + m_AmbientIntensity: 1 + m_AmbientMode: 0 + m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} + m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0} + m_HaloStrength: 0.5 + m_FlareStrength: 1 + m_FlareFadeSpeed: 3 + m_HaloTexture: {fileID: 0} + m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} + m_DefaultReflectionMode: 0 + m_DefaultReflectionResolution: 128 + m_ReflectionBounces: 1 + m_ReflectionIntensity: 1 + m_CustomReflection: {fileID: 0} + m_Sun: {fileID: 0} + m_IndirectSpecularColor: {r: 0.37311953, g: 0.38074014, b: 0.3587274, a: 1} + m_UseRadianceAmbientProbe: 0 +--- !u!157 &3 +LightmapSettings: + m_ObjectHideFlags: 0 + serializedVersion: 12 + m_GIWorkflowMode: 1 + m_GISettings: + serializedVersion: 2 + m_BounceScale: 1 + m_IndirectOutputScale: 1 + m_AlbedoBoost: 1 + m_EnvironmentLightingMode: 0 + m_EnableBakedLightmaps: 1 + m_EnableRealtimeLightmaps: 0 + m_LightmapEditorSettings: + serializedVersion: 12 + m_Resolution: 2 + m_BakeResolution: 40 + m_AtlasSize: 1024 + m_AO: 0 + m_AOMaxDistance: 1 + m_CompAOExponent: 1 + m_CompAOExponentDirect: 0 + m_ExtractAmbientOcclusion: 0 + m_Padding: 2 + m_LightmapParameters: {fileID: 0} + m_LightmapsBakeMode: 1 + m_TextureCompression: 1 + m_FinalGather: 0 + m_FinalGatherFiltering: 1 + m_FinalGatherRayCount: 256 + m_ReflectionCompression: 2 + m_MixedBakeMode: 2 + m_BakeBackend: 1 + m_PVRSampling: 1 + m_PVRDirectSampleCount: 32 + m_PVRSampleCount: 500 + m_PVRBounces: 2 + m_PVREnvironmentSampleCount: 500 + m_PVREnvironmentReferencePointCount: 2048 + m_PVRFilteringMode: 2 + m_PVRDenoiserTypeDirect: 0 + m_PVRDenoiserTypeIndirect: 0 + m_PVRDenoiserTypeAO: 0 + m_PVRFilterTypeDirect: 0 + m_PVRFilterTypeIndirect: 0 + m_PVRFilterTypeAO: 0 + m_PVREnvironmentMIS: 0 + m_PVRCulling: 1 + m_PVRFilteringGaussRadiusDirect: 1 + m_PVRFilteringGaussRadiusIndirect: 5 + m_PVRFilteringGaussRadiusAO: 2 + m_PVRFilteringAtrousPositionSigmaDirect: 0.5 + m_PVRFilteringAtrousPositionSigmaIndirect: 2 + m_PVRFilteringAtrousPositionSigmaAO: 1 + m_ExportTrainingData: 0 + m_TrainingDataDestination: TrainingData + m_LightProbeSampleCountMultiplier: 4 + m_LightingDataAsset: {fileID: 0} + m_LightingSettings: {fileID: 0} +--- !u!196 &4 +NavMeshSettings: + serializedVersion: 2 + m_ObjectHideFlags: 0 + m_BuildSettings: + serializedVersion: 3 + agentTypeID: 0 + agentRadius: 0.5 + agentHeight: 2 + agentSlope: 45 + agentClimb: 0.4 + ledgeDropHeight: 0 + maxJumpAcrossDistance: 0 + minRegionArea: 2 + manualCellSize: 0 + cellSize: 0.16666667 + manualTileSize: 0 + tileSize: 256 + buildHeightMesh: 0 + maxJobWorkers: 0 + preserveTilesOutsideBounds: 0 + debug: + m_Flags: 0 + m_NavMeshData: {fileID: 0} +--- !u!1 &963194225 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 963194228} + - component: {fileID: 963194227} + - component: {fileID: 963194226} + m_Layer: 0 + m_Name: Main Camera + m_TagString: MainCamera + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!81 &963194226 +AudioListener: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 963194225} + m_Enabled: 1 +--- !u!20 &963194227 +Camera: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 963194225} + m_Enabled: 1 + serializedVersion: 2 + m_ClearFlags: 1 + m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0} + m_projectionMatrixMode: 1 + m_GateFitMode: 2 + m_FOVAxisMode: 0 + m_Iso: 200 + m_ShutterSpeed: 0.005 + m_Aperture: 16 + m_FocusDistance: 10 + m_FocalLength: 50 + m_BladeCount: 5 + m_Curvature: {x: 2, y: 11} + m_BarrelClipping: 0.25 + m_Anamorphism: 0 + m_SensorSize: {x: 36, y: 24} + m_LensShift: {x: 0, y: 0} + m_NormalizedViewPortRect: + serializedVersion: 2 + x: 0 + y: 0 + width: 1 + height: 1 + near clip plane: 0.3 + far clip plane: 1000 + field of view: 60 + orthographic: 0 + orthographic size: 5 + m_Depth: -1 + m_CullingMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_RenderingPath: -1 + m_TargetTexture: {fileID: 0} + m_TargetDisplay: 0 + m_TargetEye: 3 + m_HDR: 1 + m_AllowMSAA: 1 + m_AllowDynamicResolution: 0 + m_ForceIntoRT: 0 + m_OcclusionCulling: 1 + m_StereoConvergence: 10 + m_StereoSeparation: 0.022 +--- !u!4 &963194228 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 963194225} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 1, z: -10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1001 &5195643990652047523 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + serializedVersion: 3 + m_TransformParent: {fileID: 0} + m_Modifications: + - target: {fileID: 2495747493876295631, guid: 367a3aea81f87844c8a9c1454fce8d1f, type: 3} + propertyPath: m_Name + value: AudioManager + objectReference: {fileID: 0} + - target: {fileID: 8683984623389327866, guid: 367a3aea81f87844c8a9c1454fce8d1f, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8683984623389327866, guid: 367a3aea81f87844c8a9c1454fce8d1f, type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8683984623389327866, guid: 367a3aea81f87844c8a9c1454fce8d1f, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8683984623389327866, guid: 367a3aea81f87844c8a9c1454fce8d1f, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 8683984623389327866, guid: 367a3aea81f87844c8a9c1454fce8d1f, type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8683984623389327866, guid: 367a3aea81f87844c8a9c1454fce8d1f, type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8683984623389327866, guid: 367a3aea81f87844c8a9c1454fce8d1f, type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8683984623389327866, guid: 367a3aea81f87844c8a9c1454fce8d1f, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8683984623389327866, guid: 367a3aea81f87844c8a9c1454fce8d1f, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8683984623389327866, guid: 367a3aea81f87844c8a9c1454fce8d1f, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_RemovedGameObjects: [] + m_AddedGameObjects: [] + m_AddedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 367a3aea81f87844c8a9c1454fce8d1f, type: 3} +--- !u!1001 &6679447067400465030 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + serializedVersion: 3 + m_TransformParent: {fileID: 0} + m_Modifications: + - target: {fileID: 5853186800503958401, guid: cfe0c4e0865e4374b93e8f32ef301852, type: 3} + propertyPath: m_Name + value: SoundEmitter + objectReference: {fileID: 0} + - target: {fileID: 9059346509536669517, guid: cfe0c4e0865e4374b93e8f32ef301852, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 9059346509536669517, guid: cfe0c4e0865e4374b93e8f32ef301852, type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 9059346509536669517, guid: cfe0c4e0865e4374b93e8f32ef301852, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 9059346509536669517, guid: cfe0c4e0865e4374b93e8f32ef301852, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 9059346509536669517, guid: cfe0c4e0865e4374b93e8f32ef301852, type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 9059346509536669517, guid: cfe0c4e0865e4374b93e8f32ef301852, type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 9059346509536669517, guid: cfe0c4e0865e4374b93e8f32ef301852, type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 9059346509536669517, guid: cfe0c4e0865e4374b93e8f32ef301852, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 9059346509536669517, guid: cfe0c4e0865e4374b93e8f32ef301852, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 9059346509536669517, guid: cfe0c4e0865e4374b93e8f32ef301852, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_RemovedGameObjects: [] + m_AddedGameObjects: [] + m_AddedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: cfe0c4e0865e4374b93e8f32ef301852, type: 3} +--- !u!1001 &7240087349313893617 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + serializedVersion: 3 + m_TransformParent: {fileID: 0} + m_Modifications: + - target: {fileID: 4611095384279485090, guid: c9bf6a9e0f8b04a49b050c870e2836f8, type: 3} + propertyPath: m_Name + value: PlayBGM + objectReference: {fileID: 0} + - target: {fileID: 7932684231192047496, guid: c9bf6a9e0f8b04a49b050c870e2836f8, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7932684231192047496, guid: c9bf6a9e0f8b04a49b050c870e2836f8, type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7932684231192047496, guid: c9bf6a9e0f8b04a49b050c870e2836f8, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7932684231192047496, guid: c9bf6a9e0f8b04a49b050c870e2836f8, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 7932684231192047496, guid: c9bf6a9e0f8b04a49b050c870e2836f8, type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7932684231192047496, guid: c9bf6a9e0f8b04a49b050c870e2836f8, type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7932684231192047496, guid: c9bf6a9e0f8b04a49b050c870e2836f8, type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7932684231192047496, guid: c9bf6a9e0f8b04a49b050c870e2836f8, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7932684231192047496, guid: c9bf6a9e0f8b04a49b050c870e2836f8, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7932684231192047496, guid: c9bf6a9e0f8b04a49b050c870e2836f8, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_RemovedGameObjects: [] + m_AddedGameObjects: [] + m_AddedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: c9bf6a9e0f8b04a49b050c870e2836f8, type: 3} +--- !u!1660057539 &9223372036854775807 +SceneRoots: + m_ObjectHideFlags: 0 + m_Roots: + - {fileID: 963194228} + - {fileID: 5195643990652047523} + - {fileID: 7240087349313893617} + - {fileID: 6679447067400465030} diff --git a/Assets/Scenes/SampleScene.unity.meta b/Assets/Scenes/WIP/AudioTestScene.unity.meta similarity index 100% rename from Assets/Scenes/SampleScene.unity.meta rename to Assets/Scenes/WIP/AudioTestScene.unity.meta diff --git a/Assets/ScriptableObjects.meta b/Assets/ScriptableObjects.meta new file mode 100644 index 0000000..bd7113f --- /dev/null +++ b/Assets/ScriptableObjects.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 9cc543d05672b2f44bdbf1a97751d0d0 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/ScriptableObjects/Audio.meta b/Assets/ScriptableObjects/Audio.meta new file mode 100644 index 0000000..a1a0494 --- /dev/null +++ b/Assets/ScriptableObjects/Audio.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 71ab319abd7f1aa4db3986dc9cccee08 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/ScriptableObjects/Audio/BGM.meta b/Assets/ScriptableObjects/Audio/BGM.meta new file mode 100644 index 0000000..2804bbd --- /dev/null +++ b/Assets/ScriptableObjects/Audio/BGM.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: bbc1492c03e515d4f8a0891382b62eec +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/ScriptableObjects/Audio/BGM/MusicCueSO.asset b/Assets/ScriptableObjects/Audio/BGM/MusicCueSO.asset new file mode 100644 index 0000000..93d9e4b --- /dev/null +++ b/Assets/ScriptableObjects/Audio/BGM/MusicCueSO.asset @@ -0,0 +1,22 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 300fb8065a394e88bbfe59c3856aaad3, type: 3} + m_Name: MusicCueSO + m_EditorClassIdentifier: + Looping: 1 + _audioClipGroups: + - _mode: 0 + _audioClips: + - m_AssetGUID: 869d88d8bf3dccb479ce975bd4122373 + m_SubObjectName: + m_SubObjectType: + m_EditorAssetChanged: 0 diff --git a/Assets/ScriptableObjects/Audio/BGM/MusicCueSO.asset.meta b/Assets/ScriptableObjects/Audio/BGM/MusicCueSO.asset.meta new file mode 100644 index 0000000..743fa73 --- /dev/null +++ b/Assets/ScriptableObjects/Audio/BGM/MusicCueSO.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 3ef5f4ffd0dde264eb3f0f45ca6f6d77 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts.meta b/Assets/Scripts.meta new file mode 100644 index 0000000..5aff857 --- /dev/null +++ b/Assets/Scripts.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 93a3680a3f669ad45b4cd06fe4059220 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Events.meta b/Assets/Scripts/Events.meta new file mode 100644 index 0000000..1eb8871 --- /dev/null +++ b/Assets/Scripts/Events.meta @@ -0,0 +1,3 @@ +fileFormatVersion: 2 +guid: b832bf06f5354f948884b988b8ffd18c +timeCreated: 1705938362 \ No newline at end of file diff --git a/Assets/Scripts/Events/Long18.CustomEvent.asmdef b/Assets/Scripts/Events/Long18.CustomEvent.asmdef new file mode 100644 index 0000000..d76a1fe --- /dev/null +++ b/Assets/Scripts/Events/Long18.CustomEvent.asmdef @@ -0,0 +1,14 @@ +{ + "name": "Long18.CustomEvent", + "rootNamespace": "Long18", + "references": [], + "includePlatforms": [], + "excludePlatforms": [], + "allowUnsafeCode": false, + "overrideReferences": false, + "precompiledReferences": [], + "autoReferenced": true, + "defineConstraints": [], + "versionDefines": [], + "noEngineReferences": false +} \ No newline at end of file diff --git a/Assets/Scripts/Events/Long18.CustomEvent.asmdef.meta b/Assets/Scripts/Events/Long18.CustomEvent.asmdef.meta new file mode 100644 index 0000000..ff23d16 --- /dev/null +++ b/Assets/Scripts/Events/Long18.CustomEvent.asmdef.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 07dce24de2a41824ea75341aea839476 +AssemblyDefinitionImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Events/UnityActionExtensions.cs b/Assets/Scripts/Events/UnityActionExtensions.cs new file mode 100644 index 0000000..d3e3bc1 --- /dev/null +++ b/Assets/Scripts/Events/UnityActionExtensions.cs @@ -0,0 +1,32 @@ +using UnityEngine; +using UnityEngine.Events; + +namespace Long18.Events +{ + public static class UnityActionExtensions + { + private const string DEFAULT_LOG = "Event was raised but no one was listening."; + + public static void SafeInvoke(this UnityAction action, T value, string log = DEFAULT_LOG) + { + if (action == null) + { + Debug.LogWarning(log); + return; + } + + action.Invoke(value); + } + + public static void SafeInvoke(this UnityAction action, string log = DEFAULT_LOG) + { + if (action == null) + { + Debug.LogWarning(log); + return; + } + + action.Invoke(); + } + } +} \ No newline at end of file diff --git a/Assets/Scripts/Events/UnityActionExtensions.cs.meta b/Assets/Scripts/Events/UnityActionExtensions.cs.meta new file mode 100644 index 0000000..ebc66f5 --- /dev/null +++ b/Assets/Scripts/Events/UnityActionExtensions.cs.meta @@ -0,0 +1,3 @@ +fileFormatVersion: 2 +guid: 86571cc14b574aa4b43e1f9434d5eb99 +timeCreated: 1705938373 \ No newline at end of file diff --git a/Assets/Scripts/System.meta b/Assets/Scripts/System.meta new file mode 100644 index 0000000..fbe6ef1 --- /dev/null +++ b/Assets/Scripts/System.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 2b36a8ec7b196d4448352485756461eb +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/System/Audio.meta b/Assets/Scripts/System/Audio.meta new file mode 100644 index 0000000..52b4dd5 --- /dev/null +++ b/Assets/Scripts/System/Audio.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 17723c9daaefdaa4abdc8e6bb57c7cf6 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/System/Audio/AudioManager.cs b/Assets/Scripts/System/Audio/AudioManager.cs new file mode 100644 index 0000000..ee88354 --- /dev/null +++ b/Assets/Scripts/System/Audio/AudioManager.cs @@ -0,0 +1,77 @@ +using Long18.System.Audio.Data; +using Long18.System.Audio.Emitters; +using Long18.System.Audio.Helper; +using UnityEngine; + +namespace Long18.System.Audio +{ + public class AudioManager : MonoBehaviour + + { + [SerializeField] private AudioCueEventChannelSO _musicEventChannel; + + private AudioEmitter _playingMusicAudioEmitter; + private AudioCueSO _currentBgmCue; + + private void OnEnable() + { + _musicEventChannel.OnRequested += OnPlayMusic; + } + + private void OnDisable() + { + _musicEventChannel.OnRequested -= OnPlayMusic; + } + + public void OnPlayMusic(AudioCueSO audioToPlay, bool requestPlay) => PlayMusic(audioToPlay, requestPlay); + + private void PlayMusic(AudioCueSO audioToPlay, bool requestPlay) + { + if (requestPlay) + { + HandleMusicToPlay(audioToPlay); + return; + } + + HandleMusicToStop(); + } + + private void HandleMusicToPlay(AudioCueSO audioToPlay) + { + if (_currentBgmCue != null) + { + _currentBgmCue.GetPlayableAsset().ReleaseAsset(); + } + + AudioHelper.TryToLoadData(audioToPlay, currentClip => + { + if (IsAudioPlaying()) + { + AudioClip musicToPlay = currentClip; + if (_playingMusicAudioEmitter.GetClip() == musicToPlay) return; + } + + if (_playingMusicAudioEmitter == null) + { + // TODO: Get new audio + } + + _currentBgmCue = audioToPlay; + + Debug.Log($"[AudioManager::HandleMusicToPlay] Playing background music: {audioToPlay.name}"); + }); + } + + + private void HandleMusicToStop() + { + if (!IsAudioPlaying()) return; + + _playingMusicAudioEmitter.Stop(); + Debug.Log($"[AudioManager] Stopped playing background music"); + } + + + private bool IsAudioPlaying() => _playingMusicAudioEmitter != null && _playingMusicAudioEmitter.IsPlaying(); + } +} \ No newline at end of file diff --git a/Assets/Scripts/System/Audio/AudioManager.cs.meta b/Assets/Scripts/System/Audio/AudioManager.cs.meta new file mode 100644 index 0000000..d71b03c --- /dev/null +++ b/Assets/Scripts/System/Audio/AudioManager.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 1c78340c157f82a4180e563ecf5962c3 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/System/Audio/Data.meta b/Assets/Scripts/System/Audio/Data.meta new file mode 100644 index 0000000..28e7e26 --- /dev/null +++ b/Assets/Scripts/System/Audio/Data.meta @@ -0,0 +1,3 @@ +fileFormatVersion: 2 +guid: ae82ff53967a414d81828ec0838727d8 +timeCreated: 1705938091 \ No newline at end of file diff --git a/Assets/Scripts/System/Audio/Data/AudioClipsGroup.cs b/Assets/Scripts/System/Audio/Data/AudioClipsGroup.cs new file mode 100644 index 0000000..95ad5ca --- /dev/null +++ b/Assets/Scripts/System/Audio/Data/AudioClipsGroup.cs @@ -0,0 +1,42 @@ +using System; +using Long18.System.Audio.Data.Utils; +using UnityEngine; +using UnityEngine.AddressableAssets; + +namespace Long18.System.Audio.Data +{ + [Serializable] + public class AudioClipsGroup + { + [SerializeField] private ESequenceMode _mode = ESequenceMode.Sequential; + [SerializeField] private AssetReferenceT[] _audioClips; + private IListIndex _clipIndex; + + private IListIndex ClipIndex + { + get + { + _clipIndex ??= ListIndexFactory.Create(_mode); + return _clipIndex; + } + } + + public AudioClipsGroup() + { + } + + public AudioClipsGroup(AssetReferenceT[] audioClips, ESequenceMode mode) + { + _audioClips = audioClips; + _mode = mode; + } + + public AssetReferenceT CurrentClip => _audioClips[ClipIndex.Value]; + + public AssetReferenceT SwitchToNextClip() + { + ClipIndex.GoForward(_audioClips.Length); + return _audioClips[ClipIndex.Value]; + } + } +} \ No newline at end of file diff --git a/Assets/Scripts/System/Audio/Data/AudioClipsGroup.cs.meta b/Assets/Scripts/System/Audio/Data/AudioClipsGroup.cs.meta new file mode 100644 index 0000000..31ff541 --- /dev/null +++ b/Assets/Scripts/System/Audio/Data/AudioClipsGroup.cs.meta @@ -0,0 +1,3 @@ +fileFormatVersion: 2 +guid: fdc9ffac54b64ab5aa009de45c1a3be1 +timeCreated: 1705938991 \ No newline at end of file diff --git a/Assets/Scripts/System/Audio/Data/AudioCueEventChannelSO.cs b/Assets/Scripts/System/Audio/Data/AudioCueEventChannelSO.cs new file mode 100644 index 0000000..afff02e --- /dev/null +++ b/Assets/Scripts/System/Audio/Data/AudioCueEventChannelSO.cs @@ -0,0 +1,29 @@ +using UnityEngine; + +namespace Long18.System.Audio.Data +{ + public delegate void AudioCueEventDelegate(AudioCueSO audioToPlay, bool requestPlay); + + /// + /// Event channel for handling audio cues in a decoupled manner. + /// This ScriptableObject serves as a communication hub for broadcasting requests + /// to play audio cues. It utilizes the delegate + /// to define the signature of the event. + /// + public class AudioCueEventChannelSO : ScriptableObject + { + /// + /// Event triggered when an audio cue is requested to be played. + /// Subscribers should listen for this event and respond accordingly. + /// + public event AudioCueEventDelegate OnRequested; + + /// + /// Plays the specified audio cue with an optional request flag. + /// + /// The to be played. + /// Optional flag indicating whether the play request is intentional. Default is true. + public void PlayAudio(AudioCueSO audioToPlay, bool requestPlay = true) => + OnRequested!.Invoke(audioToPlay, requestPlay); + } +} \ No newline at end of file diff --git a/Assets/Scripts/System/Audio/Data/AudioCueEventChannelSO.cs.meta b/Assets/Scripts/System/Audio/Data/AudioCueEventChannelSO.cs.meta new file mode 100644 index 0000000..215486d --- /dev/null +++ b/Assets/Scripts/System/Audio/Data/AudioCueEventChannelSO.cs.meta @@ -0,0 +1,3 @@ +fileFormatVersion: 2 +guid: e853e723cfbf4e7da615b054cfc4db64 +timeCreated: 1705938160 \ No newline at end of file diff --git a/Assets/Scripts/System/Audio/Data/AudioCueSO.cs b/Assets/Scripts/System/Audio/Data/AudioCueSO.cs new file mode 100644 index 0000000..6521fde --- /dev/null +++ b/Assets/Scripts/System/Audio/Data/AudioCueSO.cs @@ -0,0 +1,27 @@ +using UnityEngine; +using UnityEngine.AddressableAssets; + +namespace Long18.System.Audio.Data +{ + public class AudioCueSO : ScriptableObject + { + public bool Looping = false; + [SerializeField] private AudioClipsGroup[] _audioClipGroups = default; + + public AssetReferenceT[] GetClips() + { + int numberOfClips = _audioClipGroups.Length; + AssetReferenceT[] clipsResult = new AssetReferenceT[numberOfClips]; + + for (int i = 0; i < numberOfClips; i++) + { + clipsResult[i] = _audioClipGroups[i].SwitchToNextClip(); + } + + return clipsResult; + } + + public AssetReferenceT GetPlayableAsset() + => _audioClipGroups[0].SwitchToNextClip(); + } +} \ No newline at end of file diff --git a/Assets/Scripts/System/Audio/Data/AudioCueSO.cs.meta b/Assets/Scripts/System/Audio/Data/AudioCueSO.cs.meta new file mode 100644 index 0000000..a9d9498 --- /dev/null +++ b/Assets/Scripts/System/Audio/Data/AudioCueSO.cs.meta @@ -0,0 +1,3 @@ +fileFormatVersion: 2 +guid: 9c5ee803e3b94a738cfb67a9d613e4ce +timeCreated: 1705938496 \ No newline at end of file diff --git a/Assets/Scripts/System/Audio/Data/MusicCueSO.cs b/Assets/Scripts/System/Audio/Data/MusicCueSO.cs new file mode 100644 index 0000000..761ff84 --- /dev/null +++ b/Assets/Scripts/System/Audio/Data/MusicCueSO.cs @@ -0,0 +1,10 @@ +using UnityEngine; + +namespace Long18.System.Audio.Data +{ + [CreateAssetMenu(menuName = "Audio/Music Cue", fileName = "MusicCueSO")] + public class MusicCueSO : AudioCueSO + { + public MusicCueSO() => Looping = true; + } +} \ No newline at end of file diff --git a/Assets/Scripts/System/Audio/Data/MusicCueSO.cs.meta b/Assets/Scripts/System/Audio/Data/MusicCueSO.cs.meta new file mode 100644 index 0000000..d9c8660 --- /dev/null +++ b/Assets/Scripts/System/Audio/Data/MusicCueSO.cs.meta @@ -0,0 +1,3 @@ +fileFormatVersion: 2 +guid: 300fb8065a394e88bbfe59c3856aaad3 +timeCreated: 1705941585 \ No newline at end of file diff --git a/Assets/Scripts/System/Audio/Data/Utils.meta b/Assets/Scripts/System/Audio/Data/Utils.meta new file mode 100644 index 0000000..fcfcd88 --- /dev/null +++ b/Assets/Scripts/System/Audio/Data/Utils.meta @@ -0,0 +1,3 @@ +fileFormatVersion: 2 +guid: baf890bc4cda42e6b0b057bd89a29329 +timeCreated: 1705939106 \ No newline at end of file diff --git a/Assets/Scripts/System/Audio/Data/Utils/ESequenceMode.cs b/Assets/Scripts/System/Audio/Data/Utils/ESequenceMode.cs new file mode 100644 index 0000000..e00c124 --- /dev/null +++ b/Assets/Scripts/System/Audio/Data/Utils/ESequenceMode.cs @@ -0,0 +1,23 @@ +namespace Long18.System.Audio.Data.Utils +{ + /// + /// Enum for audio clips sequence mode + /// + public enum ESequenceMode + { + /// + /// Randomly play audio clips + /// + Random = 0, + + /// + /// Play audio clips in order and repeat from start when end is reached + /// + Repeat = 1, + + /// + /// Play audio clips in order and stop when end is reached + /// + Sequential = 2, + } +} \ No newline at end of file diff --git a/Assets/Scripts/System/Audio/Data/Utils/ESequenceMode.cs.meta b/Assets/Scripts/System/Audio/Data/Utils/ESequenceMode.cs.meta new file mode 100644 index 0000000..d30246d --- /dev/null +++ b/Assets/Scripts/System/Audio/Data/Utils/ESequenceMode.cs.meta @@ -0,0 +1,3 @@ +fileFormatVersion: 2 +guid: 89dae9afccfe495fbf555c8903f65812 +timeCreated: 1705939032 \ No newline at end of file diff --git a/Assets/Scripts/System/Audio/Data/Utils/IListIndex.cs b/Assets/Scripts/System/Audio/Data/Utils/IListIndex.cs new file mode 100644 index 0000000..4b38ce4 --- /dev/null +++ b/Assets/Scripts/System/Audio/Data/Utils/IListIndex.cs @@ -0,0 +1,9 @@ +namespace Long18.System.Audio.Data.Utils +{ + public interface IListIndex + { + int Value { get; } + IListIndex GoForward(int elementCount); + IListIndex GoBackward(int elementCount); + } +} \ No newline at end of file diff --git a/Assets/Scripts/System/Audio/Data/Utils/IListIndex.cs.meta b/Assets/Scripts/System/Audio/Data/Utils/IListIndex.cs.meta new file mode 100644 index 0000000..9e45e92 --- /dev/null +++ b/Assets/Scripts/System/Audio/Data/Utils/IListIndex.cs.meta @@ -0,0 +1,3 @@ +fileFormatVersion: 2 +guid: e8be758f51d54695ab648f7d5f6b7494 +timeCreated: 1705939051 \ No newline at end of file diff --git a/Assets/Scripts/System/Audio/Data/Utils/ListIndexFactory.cs b/Assets/Scripts/System/Audio/Data/Utils/ListIndexFactory.cs new file mode 100644 index 0000000..0081705 --- /dev/null +++ b/Assets/Scripts/System/Audio/Data/Utils/ListIndexFactory.cs @@ -0,0 +1,12 @@ +namespace Long18.System.Audio.Data.Utils +{ + public static class ListIndexFactory + { + public static IListIndex Create(ESequenceMode sequenceMode) => sequenceMode switch + { + ESequenceMode.Random => new RandomListIndex(), + ESequenceMode.Repeat => new UniqueRandomListIndex(), + _ => new RepeatListIndex() + }; + } +} \ No newline at end of file diff --git a/Assets/Scripts/System/Audio/Data/Utils/ListIndexFactory.cs.meta b/Assets/Scripts/System/Audio/Data/Utils/ListIndexFactory.cs.meta new file mode 100644 index 0000000..47d1cd5 --- /dev/null +++ b/Assets/Scripts/System/Audio/Data/Utils/ListIndexFactory.cs.meta @@ -0,0 +1,3 @@ +fileFormatVersion: 2 +guid: def68e4088d24173a5b64c175d48dc1c +timeCreated: 1705939080 \ No newline at end of file diff --git a/Assets/Scripts/System/Audio/Data/Utils/RandomListIndex.cs b/Assets/Scripts/System/Audio/Data/Utils/RandomListIndex.cs new file mode 100644 index 0000000..51cb864 --- /dev/null +++ b/Assets/Scripts/System/Audio/Data/Utils/RandomListIndex.cs @@ -0,0 +1,23 @@ +using UnityEngine; + +namespace Long18.System.Audio.Data.Utils +{ + public class RandomListIndex : IListIndex + { + public int Value { get; private set; } = 0; + + public IListIndex GoForward(int elementCount) + { + Value = GenerateRandomIndex(elementCount); + return this; + } + + public IListIndex GoBackward(int elementCount) + { + Value = GenerateRandomIndex(elementCount); + return this; + } + + protected virtual int GenerateRandomIndex(int elementCount) => Random.Range(0, elementCount); + } +} \ No newline at end of file diff --git a/Assets/Scripts/System/Audio/Data/Utils/RandomListIndex.cs.meta b/Assets/Scripts/System/Audio/Data/Utils/RandomListIndex.cs.meta new file mode 100644 index 0000000..e1f4ff5 --- /dev/null +++ b/Assets/Scripts/System/Audio/Data/Utils/RandomListIndex.cs.meta @@ -0,0 +1,3 @@ +fileFormatVersion: 2 +guid: 3654962510e04bb48b1a7a6dac5c88b7 +timeCreated: 1705939128 \ No newline at end of file diff --git a/Assets/Scripts/System/Audio/Data/Utils/RepeatListIndex.cs b/Assets/Scripts/System/Audio/Data/Utils/RepeatListIndex.cs new file mode 100644 index 0000000..a36e859 --- /dev/null +++ b/Assets/Scripts/System/Audio/Data/Utils/RepeatListIndex.cs @@ -0,0 +1,19 @@ +namespace Long18.System.Audio.Data.Utils +{ + public class RepeatListIndex : IListIndex + { + public int Value { get; private set; } = 0; + + public IListIndex GoForward(int elementCount) + { + Value = (Value + 1) % elementCount; + return this; + } + + public IListIndex GoBackward(int elementCount) + { + Value = (Value - 1 + elementCount) % elementCount; + return this; + } + } +} \ No newline at end of file diff --git a/Assets/Scripts/System/Audio/Data/Utils/RepeatListIndex.cs.meta b/Assets/Scripts/System/Audio/Data/Utils/RepeatListIndex.cs.meta new file mode 100644 index 0000000..c7d0c33 --- /dev/null +++ b/Assets/Scripts/System/Audio/Data/Utils/RepeatListIndex.cs.meta @@ -0,0 +1,3 @@ +fileFormatVersion: 2 +guid: b16a4af663b1422fbfc4040b42322092 +timeCreated: 1705939153 \ No newline at end of file diff --git a/Assets/Scripts/System/Audio/Data/Utils/UniqueRandomListIndex.cs b/Assets/Scripts/System/Audio/Data/Utils/UniqueRandomListIndex.cs new file mode 100644 index 0000000..6f3c96b --- /dev/null +++ b/Assets/Scripts/System/Audio/Data/Utils/UniqueRandomListIndex.cs @@ -0,0 +1,16 @@ +namespace Long18.System.Audio.Data.Utils +{ + public class UniqueRandomListIndex : RandomListIndex + { + protected override int GenerateRandomIndex(int elementCount) + { + int nextIndex; + do + { + nextIndex = base.GenerateRandomIndex(elementCount); + } while (elementCount > 1 && nextIndex == Value); + + return nextIndex; + } + } +} \ No newline at end of file diff --git a/Assets/Scripts/System/Audio/Data/Utils/UniqueRandomListIndex.cs.meta b/Assets/Scripts/System/Audio/Data/Utils/UniqueRandomListIndex.cs.meta new file mode 100644 index 0000000..fd0e745 --- /dev/null +++ b/Assets/Scripts/System/Audio/Data/Utils/UniqueRandomListIndex.cs.meta @@ -0,0 +1,3 @@ +fileFormatVersion: 2 +guid: 5f4e0ab9650146be9bff688e295020db +timeCreated: 1705939178 \ No newline at end of file diff --git a/Assets/Scripts/System/Audio/Emitters.meta b/Assets/Scripts/System/Audio/Emitters.meta new file mode 100644 index 0000000..d4806aa --- /dev/null +++ b/Assets/Scripts/System/Audio/Emitters.meta @@ -0,0 +1,3 @@ +fileFormatVersion: 2 +guid: ce5aabd6a09f44a48bbbb52af34af1d3 +timeCreated: 1705940354 \ No newline at end of file diff --git a/Assets/Scripts/System/Audio/Emitters/AudioEmitter.cs b/Assets/Scripts/System/Audio/Emitters/AudioEmitter.cs new file mode 100644 index 0000000..b2ee62c --- /dev/null +++ b/Assets/Scripts/System/Audio/Emitters/AudioEmitter.cs @@ -0,0 +1,16 @@ +using UnityEngine; + +namespace Long18.System.Audio.Emitters +{ + [RequireComponent((typeof(AudioSource)))] + public class AudioEmitter : MonoBehaviour + { + [SerializeField] private AudioSource _audioSource; + + public void Resume() => _audioSource.Play(); + public void Pause() => _audioSource.Pause(); + public void Stop() => _audioSource.Stop(); + public AudioClip GetClip() => _audioSource.clip; + public bool IsPlaying() => _audioSource.isPlaying; + } +} \ No newline at end of file diff --git a/Assets/Scripts/System/Audio/Emitters/AudioEmitter.cs.meta b/Assets/Scripts/System/Audio/Emitters/AudioEmitter.cs.meta new file mode 100644 index 0000000..2bd611b --- /dev/null +++ b/Assets/Scripts/System/Audio/Emitters/AudioEmitter.cs.meta @@ -0,0 +1,3 @@ +fileFormatVersion: 2 +guid: 76e0b6e43a6b4db79a466d5fc32e0f61 +timeCreated: 1705940370 \ No newline at end of file diff --git a/Assets/Scripts/System/Audio/Helper.meta b/Assets/Scripts/System/Audio/Helper.meta new file mode 100644 index 0000000..0abea9f --- /dev/null +++ b/Assets/Scripts/System/Audio/Helper.meta @@ -0,0 +1,3 @@ +fileFormatVersion: 2 +guid: 208da26cd906418b9d9b786850731a5f +timeCreated: 1705940654 \ No newline at end of file diff --git a/Assets/Scripts/System/Audio/Helper/AudioHelper.cs b/Assets/Scripts/System/Audio/Helper/AudioHelper.cs new file mode 100644 index 0000000..34aaadf --- /dev/null +++ b/Assets/Scripts/System/Audio/Helper/AudioHelper.cs @@ -0,0 +1,28 @@ +using System; +using Long18.System.Audio.Data; +using UnityEngine; +using UnityEngine.AddressableAssets; + +namespace Long18.System.Audio.Helper +{ + public static class AudioHelper + { + public static void TryToLoadData(AudioCueSO audioCue, Action callback) + { + AssetReferenceT currentCue = audioCue.GetPlayableAsset(); + + if (currentCue.IsValid()) + { + if (currentCue.Asset != null) + { + callback?.Invoke((AudioClip)currentCue.Asset); + return; + } + + currentCue.ReleaseAsset(); + } + + currentCue.LoadAssetAsync().Completed += handle => { callback?.Invoke(handle.Result); }; + } + } +} \ No newline at end of file diff --git a/Assets/Scripts/System/Audio/Helper/AudioHelper.cs.meta b/Assets/Scripts/System/Audio/Helper/AudioHelper.cs.meta new file mode 100644 index 0000000..dc977b7 --- /dev/null +++ b/Assets/Scripts/System/Audio/Helper/AudioHelper.cs.meta @@ -0,0 +1,3 @@ +fileFormatVersion: 2 +guid: 762f8ba22bcf4b91aba09e9a8776f25a +timeCreated: 1705940670 \ No newline at end of file diff --git a/Assets/Scripts/System/Audio/Long18.AudioSystem.asmdef b/Assets/Scripts/System/Audio/Long18.AudioSystem.asmdef new file mode 100644 index 0000000..65a0bdc --- /dev/null +++ b/Assets/Scripts/System/Audio/Long18.AudioSystem.asmdef @@ -0,0 +1,18 @@ +{ + "name": "Long18.AudioSystem", + "rootNamespace": "Long18", + "references": [ + "GUID:07dce24de2a41824ea75341aea839476", + "GUID:9e24947de15b9834991c9d8411ea37cf", + "GUID:84651a3751eca9349aac36a66bba901b" + ], + "includePlatforms": [], + "excludePlatforms": [], + "allowUnsafeCode": false, + "overrideReferences": false, + "precompiledReferences": [], + "autoReferenced": true, + "defineConstraints": [], + "versionDefines": [], + "noEngineReferences": false +} \ No newline at end of file diff --git a/Assets/Scripts/System/Audio/Long18.AudioSystem.asmdef.meta b/Assets/Scripts/System/Audio/Long18.AudioSystem.asmdef.meta new file mode 100644 index 0000000..acd8e2c --- /dev/null +++ b/Assets/Scripts/System/Audio/Long18.AudioSystem.asmdef.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: dc1011b7296221a419df66d38b91ab77 +AssemblyDefinitionImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/System/Audio/PlayMusicOnSceneAwake.cs b/Assets/Scripts/System/Audio/PlayMusicOnSceneAwake.cs new file mode 100644 index 0000000..766da61 --- /dev/null +++ b/Assets/Scripts/System/Audio/PlayMusicOnSceneAwake.cs @@ -0,0 +1,27 @@ +using Long18.System.Audio.Data; +using UnityEngine; + +namespace Long18.System.Audio +{ + public class PlayMusicOnSceneAwake : MonoBehaviour + { + [Header("Raise on")] [SerializeField] private AudioCueEventChannelSO _musicEventChannel; + + [Header("Configs")] public AudioCueSO MusicTrack; + + private void Awake() + { + PlayBackgroundMusic(); + } + + public void PlayBackgroundMusic() + { + _musicEventChannel.PlayAudio(MusicTrack); + } + + public void StopBackgroundMusic() + { + _musicEventChannel.PlayAudio(MusicTrack, false); + } + } +} \ No newline at end of file diff --git a/Assets/Scripts/System/Audio/PlayMusicOnSceneAwake.cs.meta b/Assets/Scripts/System/Audio/PlayMusicOnSceneAwake.cs.meta new file mode 100644 index 0000000..a7758fe --- /dev/null +++ b/Assets/Scripts/System/Audio/PlayMusicOnSceneAwake.cs.meta @@ -0,0 +1,3 @@ +fileFormatVersion: 2 +guid: 0d6850f2c7ee4c948d04f54421a5f359 +timeCreated: 1705941240 \ No newline at end of file diff --git a/Packages/manifest.json b/Packages/manifest.json index 9956248..6c8a83b 100644 --- a/Packages/manifest.json +++ b/Packages/manifest.json @@ -1,5 +1,6 @@ { "dependencies": { + "com.unity.addressables": "1.21.19", "com.unity.collab-proxy": "2.2.0", "com.unity.feature.development": "1.0.1", "com.unity.textmeshpro": "3.0.6", diff --git a/Packages/packages-lock.json b/Packages/packages-lock.json index 2cc5699..1989392 100644 --- a/Packages/packages-lock.json +++ b/Packages/packages-lock.json @@ -1,5 +1,19 @@ { "dependencies": { + "com.unity.addressables": { + "version": "1.21.19", + "depth": 0, + "source": "registry", + "dependencies": { + "com.unity.scriptablebuildpipeline": "1.21.21", + "com.unity.modules.assetbundle": "1.0.0", + "com.unity.modules.imageconversion": "1.0.0", + "com.unity.modules.jsonserialize": "1.0.0", + "com.unity.modules.unitywebrequest": "1.0.0", + "com.unity.modules.unitywebrequestassetbundle": "1.0.0" + }, + "url": "https://packages.unity.com" + }, "com.unity.collab-proxy": { "version": "2.2.0", "depth": 0, @@ -67,6 +81,13 @@ "dependencies": {}, "url": "https://packages.unity.com" }, + "com.unity.scriptablebuildpipeline": { + "version": "1.21.21", + "depth": 1, + "source": "registry", + "dependencies": {}, + "url": "https://packages.unity.com" + }, "com.unity.settings-manager": { "version": "2.0.1", "depth": 2, diff --git a/ProjectSettings/EditorBuildSettings.asset b/ProjectSettings/EditorBuildSettings.asset index 0147887..cfd3f1d 100644 --- a/ProjectSettings/EditorBuildSettings.asset +++ b/ProjectSettings/EditorBuildSettings.asset @@ -5,4 +5,5 @@ EditorBuildSettings: m_ObjectHideFlags: 0 serializedVersion: 2 m_Scenes: [] - m_configObjects: {} + m_configObjects: + com.unity.addressableassets: {fileID: 11400000, guid: 1cbba50b182a88640a9e43e5f84e85b9, type: 2} diff --git a/ProjectSettings/ProjectSettings.asset b/ProjectSettings/ProjectSettings.asset index 481f9a9..ee3cb96 100644 --- a/ProjectSettings/ProjectSettings.asset +++ b/ProjectSettings/ProjectSettings.asset @@ -12,7 +12,7 @@ PlayerSettings: targetDevice: 2 useOnDemandResources: 0 accelerometerFrequency: 60 - companyName: DefaultCompany + companyName: Long18 productName: Audio-System defaultCursor: {fileID: 0} cursorHotspot: {x: 0, y: 0} @@ -136,7 +136,7 @@ PlayerSettings: vulkanEnableLateAcquireNextImage: 0 vulkanEnableCommandBufferRecycling: 1 loadStoreDebugModeEnabled: 0 - bundleVersion: 0.1 + bundleVersion: 1.0 preloadedAssets: [] metroInputSource: 0 wsaTransparentSwapchain: 0 diff --git a/ProjectSettings/SceneTemplateSettings.json b/ProjectSettings/SceneTemplateSettings.json new file mode 100644 index 0000000..5e97f83 --- /dev/null +++ b/ProjectSettings/SceneTemplateSettings.json @@ -0,0 +1,121 @@ +{ + "templatePinStates": [], + "dependencyTypeInfos": [ + { + "userAdded": false, + "type": "UnityEngine.AnimationClip", + "defaultInstantiationMode": 0 + }, + { + "userAdded": false, + "type": "UnityEditor.Animations.AnimatorController", + "defaultInstantiationMode": 0 + }, + { + "userAdded": false, + "type": "UnityEngine.AnimatorOverrideController", + "defaultInstantiationMode": 0 + }, + { + "userAdded": false, + "type": "UnityEditor.Audio.AudioMixerController", + "defaultInstantiationMode": 0 + }, + { + "userAdded": false, + "type": "UnityEngine.ComputeShader", + "defaultInstantiationMode": 1 + }, + { + "userAdded": false, + "type": "UnityEngine.Cubemap", + "defaultInstantiationMode": 0 + }, + { + "userAdded": false, + "type": "UnityEngine.GameObject", + "defaultInstantiationMode": 0 + }, + { + "userAdded": false, + "type": "UnityEditor.LightingDataAsset", + "defaultInstantiationMode": 0 + }, + { + "userAdded": false, + "type": "UnityEngine.LightingSettings", + "defaultInstantiationMode": 0 + }, + { + "userAdded": false, + "type": "UnityEngine.Material", + "defaultInstantiationMode": 0 + }, + { + "userAdded": false, + "type": "UnityEditor.MonoScript", + "defaultInstantiationMode": 1 + }, + { + "userAdded": false, + "type": "UnityEngine.PhysicMaterial", + "defaultInstantiationMode": 0 + }, + { + "userAdded": false, + "type": "UnityEngine.PhysicsMaterial2D", + "defaultInstantiationMode": 0 + }, + { + "userAdded": false, + "type": "UnityEngine.Rendering.PostProcessing.PostProcessProfile", + "defaultInstantiationMode": 0 + }, + { + "userAdded": false, + "type": "UnityEngine.Rendering.PostProcessing.PostProcessResources", + "defaultInstantiationMode": 0 + }, + { + "userAdded": false, + "type": "UnityEngine.Rendering.VolumeProfile", + "defaultInstantiationMode": 0 + }, + { + "userAdded": false, + "type": "UnityEditor.SceneAsset", + "defaultInstantiationMode": 1 + }, + { + "userAdded": false, + "type": "UnityEngine.Shader", + "defaultInstantiationMode": 1 + }, + { + "userAdded": false, + "type": "UnityEngine.ShaderVariantCollection", + "defaultInstantiationMode": 1 + }, + { + "userAdded": false, + "type": "UnityEngine.Texture", + "defaultInstantiationMode": 0 + }, + { + "userAdded": false, + "type": "UnityEngine.Texture2D", + "defaultInstantiationMode": 0 + }, + { + "userAdded": false, + "type": "UnityEngine.Timeline.TimelineAsset", + "defaultInstantiationMode": 0 + } + ], + "defaultDependencyTypeInfo": { + "userAdded": false, + "type": "", + "defaultInstantiationMode": 1 + }, + "newSceneOverride": 0 +} \ No newline at end of file