diff --git a/Assets/Materials/SoundClipWidget.mat b/Assets/Materials/SoundClipWidget.mat new file mode 100644 index 0000000000..986bb2e619 --- /dev/null +++ b/Assets/Materials/SoundClipWidget.mat @@ -0,0 +1,93 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 8 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: SoundClipWidget + m_Shader: {fileID: 4800000, guid: 7316425f699fd1d459c40d7e089fa760, type: 3} + m_ValidKeywords: [] + m_InvalidKeywords: + - _ALPHATEST_ON + - _LIGHTMAPPING_DYNAMIC_LIGHTMAPS + - _UVSEC_UV1 + m_LightmapFlags: 5 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: -1 + stringTagMap: {} + disabledShaderPasses: [] + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _BumpMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailAlbedoMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMask: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MainTex: + m_Texture: {fileID: 2800000, guid: 32c1b6205fdb5af4996e2a51c4df9eb7, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _Occlusion: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _OcclusionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ParallaxMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SpecGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: + - _Cull: 2 + m_Floats: + - _AlphaTestRef: 0.5 + - _Aspect: 1 + - _BumpScale: 1 + - _CullMode: 0 + - _Cutoff: 0.5 + - _DetailNormalMapScale: 1 + - _DstBlend: 0 + - _EmissionScaleUI: 1 + - _Glossiness: 0 + - _Grayscale: 0 + - _Lightmapping: 1 + - _Mode: 1 + - _OcclusionStrength: 1 + - _Parallax: 0.02 + - _SrcBlend: 1 + - _UVSec: 0 + - _ZWrite: 1 + m_Colors: + - _Color: {r: 1, g: 1, b: 1, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 0.99999994} + - _EmissionColorUI: {r: 0, g: 0, b: 0, a: 1} + - _EmissionColorWithMapUI: {r: 1, g: 1, b: 1, a: 1} + - _SpecColor: {r: 0.2, g: 0.2, b: 0.2, a: 1} + - _SpecularColor: {r: 0.2, g: 0.2, b: 0.2, a: 1} + m_BuildTextureStacks: [] diff --git a/Assets/Materials/SoundClipWidget.mat.meta b/Assets/Materials/SoundClipWidget.mat.meta new file mode 100644 index 0000000000..e6fdeae439 --- /dev/null +++ b/Assets/Materials/SoundClipWidget.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: d8b1abdfad766cd448e1ea238af5f38d +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Prefabs/Panels/ReferencePanel/ReferencePanel.prefab b/Assets/Prefabs/Panels/ReferencePanel/ReferencePanel.prefab index e94a1fd00b..2ef96ae4fc 100644 --- a/Assets/Prefabs/Panels/ReferencePanel/ReferencePanel.prefab +++ b/Assets/Prefabs/Panels/ReferencePanel/ReferencePanel.prefab @@ -47,8 +47,8 @@ MonoBehaviour: m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: 28a7b254c7b3e234e916db4d5425c099, type: 3} - m_Name: - m_EditorClassIdentifier: + m_Name: + m_EditorClassIdentifier: m_PanelType: 16 m_Collider: {fileID: 6578658} m_Mesh: {fileID: 167476} @@ -63,7 +63,7 @@ MonoBehaviour: m_TableCollectionName: GUID:c84355079ab3f3e4f8f3812258805f86 m_TableEntryReference: m_KeyId: 89041955544915968 - m_Key: + m_Key: m_FallbackState: 0 m_WaitForCompletion: 0 m_LocalVariables: [] @@ -117,6 +117,7 @@ MonoBehaviour: - {fileID: 2041276345061306701} - {fileID: 6916756850496021501} - {fileID: 4511428163058511989} + - {fileID: 7041335267395420804} m_ExtraBorders: - {fileID: 3545759370252767883} m_RefreshingSpinner: {fileID: 2793114836075558058} @@ -137,8 +138,8 @@ MonoBehaviour: m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: 6311d8a25dba6a443be8afe87803c545, type: 3} - m_Name: - m_EditorClassIdentifier: + m_Name: + m_EditorClassIdentifier: m_ShowDuration: 0.25 m_GrabDistance: 0.5 m_CollisionRadius: 1.25 @@ -174,8 +175,8 @@ MonoBehaviour: m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: 739d5b1996234d64992a2ae60c3723e9, type: 3} - m_Name: - m_EditorClassIdentifier: + m_Name: + m_EditorClassIdentifier: --- !u!1 &146636 GameObject: m_ObjectHideFlags: 0 @@ -459,27 +460,27 @@ MonoBehaviour: m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: dbae3ff4457df6f4ea3af0389871cb9c, type: 3} - m_Name: - m_EditorClassIdentifier: + m_Name: + m_EditorClassIdentifier: m_DescriptionType: -1 m_DescriptionYOffset: 0 - m_DescriptionText: + m_DescriptionText: m_LocalizedDescription: m_TableReference: - m_TableCollectionName: + m_TableCollectionName: m_TableEntryReference: m_KeyId: 0 - m_Key: + m_Key: m_FallbackState: 0 m_WaitForCompletion: 0 m_LocalVariables: [] - m_DescriptionTextExtra: + m_DescriptionTextExtra: m_LocalizedDescriptionExtra: m_TableReference: - m_TableCollectionName: + m_TableCollectionName: m_TableEntryReference: m_KeyId: 0 - m_Key: + m_Key: m_FallbackState: 0 m_WaitForCompletion: 0 m_LocalVariables: [] @@ -596,8 +597,8 @@ MonoBehaviour: m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: 1aaefde5afe80784e908d27fcb05a101, type: 3} - m_Name: - m_EditorClassIdentifier: + m_Name: + m_EditorClassIdentifier: m_OffsetOverride: -1 --- !u!1 &1000011504539966 GameObject: @@ -707,8 +708,8 @@ MonoBehaviour: m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: cd93e96b781b14453b31e8ecb9ac1204, type: 3} - m_Name: - m_EditorClassIdentifier: + m_Name: + m_EditorClassIdentifier: m_DescriptionType: 0 m_DescriptionYOffset: 0 m_DescriptionText: PANEL_REFERENCE_BUTTON_ADDMEDIA_DESCRIPTION @@ -717,17 +718,17 @@ MonoBehaviour: m_TableCollectionName: GUID:c84355079ab3f3e4f8f3812258805f86 m_TableEntryReference: m_KeyId: 89072407659962368 - m_Key: + m_Key: m_FallbackState: 0 m_WaitForCompletion: 0 m_LocalVariables: [] - m_DescriptionTextExtra: + m_DescriptionTextExtra: m_LocalizedDescriptionExtra: m_TableReference: - m_TableCollectionName: + m_TableCollectionName: m_TableEntryReference: m_KeyId: 0 - m_Key: + m_Key: m_FallbackState: 0 m_WaitForCompletion: 0 m_LocalVariables: [] @@ -855,27 +856,27 @@ MonoBehaviour: m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: dbae3ff4457df6f4ea3af0389871cb9c, type: 3} - m_Name: - m_EditorClassIdentifier: + m_Name: + m_EditorClassIdentifier: m_DescriptionType: -1 m_DescriptionYOffset: 0 - m_DescriptionText: + m_DescriptionText: m_LocalizedDescription: m_TableReference: - m_TableCollectionName: + m_TableCollectionName: m_TableEntryReference: m_KeyId: 0 - m_Key: + m_Key: m_FallbackState: 0 m_WaitForCompletion: 0 m_LocalVariables: [] - m_DescriptionTextExtra: + m_DescriptionTextExtra: m_LocalizedDescriptionExtra: m_TableReference: - m_TableCollectionName: + m_TableCollectionName: m_TableEntryReference: m_KeyId: 0 - m_Key: + m_Key: m_FallbackState: 0 m_WaitForCompletion: 0 m_LocalVariables: [] @@ -1071,8 +1072,8 @@ MonoBehaviour: m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: 9541d86e2fd84c1d9990edf0852d74ab, type: 3} - m_Name: - m_EditorClassIdentifier: + m_Name: + m_EditorClassIdentifier: m_Material: {fileID: 0} m_Color: {r: 1, g: 1, b: 1, a: 1} m_RaycastTarget: 1 @@ -1370,14 +1371,14 @@ MonoBehaviour: m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: ed2e2a6b8f3448a0a92c3495433afa2b, type: 3} - m_Name: - m_EditorClassIdentifier: + m_Name: + m_EditorClassIdentifier: m_PanelName: m_TableReference: m_TableCollectionName: GUID:c84355079ab3f3e4f8f3812258805f86 m_TableEntryReference: m_KeyId: 106429517453328384 - m_Key: + m_Key: m_FallbackState: 0 m_WaitForCompletion: 0 m_LocalVariables: [] @@ -1531,8 +1532,8 @@ MonoBehaviour: m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: 3d9f8be89ad34c6e82b5721be6c40c4a, type: 3} - m_Name: - m_EditorClassIdentifier: + m_Name: + m_EditorClassIdentifier: m_DescriptionType: 0 m_DescriptionYOffset: 0 m_DescriptionText: Pick a Subfolder @@ -1541,17 +1542,17 @@ MonoBehaviour: m_TableCollectionName: GUID:c84355079ab3f3e4f8f3812258805f86 m_TableEntryReference: m_KeyId: 224363142209691648 - m_Key: + m_Key: m_FallbackState: 0 m_WaitForCompletion: 0 m_LocalVariables: [] - m_DescriptionTextExtra: + m_DescriptionTextExtra: m_LocalizedDescriptionExtra: m_TableReference: - m_TableCollectionName: + m_TableCollectionName: m_TableEntryReference: m_KeyId: 0 - m_Key: + m_Key: m_FallbackState: 0 m_WaitForCompletion: 0 m_LocalVariables: [] @@ -1573,23 +1574,23 @@ MonoBehaviour: m_RequiresPopup: 1 m_CenterPopupOnButton: 0 m_PopupOffset: {x: 0, y: 0, z: 0} - m_PopupText: + m_PopupText: m_LocalizedPopup: m_TableReference: - m_TableCollectionName: + m_TableCollectionName: m_TableEntryReference: m_KeyId: 0 - m_Key: + m_Key: m_FallbackState: 0 m_WaitForCompletion: 0 m_LocalVariables: [] - m_ToggleOnDescription: + m_ToggleOnDescription: m_LocalizedToggleOnDescription: m_TableReference: - m_TableCollectionName: + m_TableCollectionName: m_TableEntryReference: m_KeyId: 0 - m_Key: + m_Key: m_FallbackState: 0 m_WaitForCompletion: 0 m_LocalVariables: [] @@ -1597,7 +1598,7 @@ MonoBehaviour: m_AllowUnavailable: 0 m_LinkedUIObject: {fileID: 0} m_Highlight: {fileID: 212049515725875748} - m_ButtonLabel: + m_ButtonLabel: m_ColorSelected: {r: 0, g: 0, b: 0, a: 0} m_ColorDeselected: {r: 0, g: 0, b: 0, a: 0} references: @@ -1693,8 +1694,8 @@ MonoBehaviour: m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: 9541d86e2fd84c1d9990edf0852d74ab, type: 3} - m_Name: - m_EditorClassIdentifier: + m_Name: + m_EditorClassIdentifier: m_Material: {fileID: 0} m_Color: {r: 1, g: 1, b: 1, a: 1} m_RaycastTarget: 1 @@ -1799,7 +1800,7 @@ Transform: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 6298209575442832167} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalPosition: {x: 0, y: 0.193, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: @@ -1807,6 +1808,7 @@ Transform: - {fileID: 293408167421422296} - {fileID: 8642672171813981533} - {fileID: 8169998680714821875} + - {fileID: 7212281109223797171} m_Father: {fileID: 465812} m_RootOrder: 10 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} @@ -1842,6 +1844,7 @@ Transform: - {fileID: 6439553437626405691} - {fileID: 2069344145590318387} - {fileID: 8904216512971985411} + - {fileID: 2521260574376563786} m_Father: {fileID: 465812} m_RootOrder: 11 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} @@ -1944,8 +1947,8 @@ MonoBehaviour: m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: 9541d86e2fd84c1d9990edf0852d74ab, type: 3} - m_Name: - m_EditorClassIdentifier: + m_Name: + m_EditorClassIdentifier: m_Material: {fileID: 0} m_Color: {r: 1, g: 1, b: 1, a: 1} m_RaycastTarget: 1 @@ -2176,6 +2179,93 @@ Transform: type: 3} m_PrefabInstance: {fileID: 1697688316793202177} m_PrefabAsset: {fileID: 0} +--- !u!1001 &1658028840619810788 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 5575169286801542507} + m_Modifications: + - target: {fileID: 3891058746504678318, guid: bc59f933f07268642a3319d424409949, + type: 3} + propertyPath: m_RootOrder + value: 4 + objectReference: {fileID: 0} + - target: {fileID: 3891058746504678318, guid: bc59f933f07268642a3319d424409949, + type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3891058746504678318, guid: bc59f933f07268642a3319d424409949, + type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3891058746504678318, guid: bc59f933f07268642a3319d424409949, + type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3891058746504678318, guid: bc59f933f07268642a3319d424409949, + type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 3891058746504678318, guid: bc59f933f07268642a3319d424409949, + type: 3} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 3891058746504678318, guid: bc59f933f07268642a3319d424409949, + type: 3} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 3891058746504678318, guid: bc59f933f07268642a3319d424409949, + type: 3} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 3891058746504678318, guid: bc59f933f07268642a3319d424409949, + type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3891058746504678318, guid: bc59f933f07268642a3319d424409949, + type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3891058746504678318, guid: bc59f933f07268642a3319d424409949, + type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8695216695422032127, guid: bc59f933f07268642a3319d424409949, + type: 3} + propertyPath: m_Name + value: ReferencePanelTabSoundClip + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: bc59f933f07268642a3319d424409949, type: 3} +--- !u!4 &2521260574376563786 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 3891058746504678318, guid: bc59f933f07268642a3319d424409949, + type: 3} + m_PrefabInstance: {fileID: 1658028840619810788} + m_PrefabAsset: {fileID: 0} +--- !u!114 &7041335267395420804 stripped +MonoBehaviour: + m_CorrespondingSourceObject: {fileID: 8553841389093772640, guid: bc59f933f07268642a3319d424409949, + type: 3} + m_PrefabInstance: {fileID: 1658028840619810788} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: dcee1b430b77a424cb40c11cdf48c840, type: 3} + m_Name: + m_EditorClassIdentifier: --- !u!1001 &1789072396110540625 PrefabInstance: m_ObjectHideFlags: 0 @@ -2255,8 +2345,8 @@ MonoBehaviour: m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: d2dcf3cca7ba2e045b08b8811e46cb35, type: 3} - m_Name: - m_EditorClassIdentifier: + m_Name: + m_EditorClassIdentifier: --- !u!4 &6439553437626405691 stripped Transform: m_CorrespondingSourceObject: {fileID: 4722565608153955434, guid: a1a5e4c1205285c4ba82afddcd92fa1c, @@ -2354,8 +2444,8 @@ MonoBehaviour: m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: 713facf4120712d449bc2165ea9b3ba9, type: 3} - m_Name: - m_EditorClassIdentifier: + m_Name: + m_EditorClassIdentifier: --- !u!1001 &2214946156871756456 PrefabInstance: m_ObjectHideFlags: 0 @@ -2521,7 +2611,7 @@ PrefabInstance: - target: {fileID: 6491599919484524684, guid: c4cb16d9963f73d449cf484030ee1c0d, type: 3} propertyPath: m_ButtonTexture - value: + value: objectReference: {fileID: 2800000, guid: 993870a664943a14ca942ac74d1d80fe, type: 3} - target: {fileID: 6491599919484524684, guid: c4cb16d9963f73d449cf484030ee1c0d, type: 3} @@ -2686,7 +2776,7 @@ PrefabInstance: - target: {fileID: 7879899076693153277, guid: 0963942396a615f4fb1b390436e881b8, type: 3} propertyPath: m_ButtonTexture - value: + value: objectReference: {fileID: 2800000, guid: 251a8ebc071ebde49b2c8d5494ca57cb, type: 3} - target: {fileID: 7879899076693153277, guid: 0963942396a615f4fb1b390436e881b8, type: 3} @@ -2706,7 +2796,7 @@ PrefabInstance: - target: {fileID: 7879899076693153277, guid: 0963942396a615f4fb1b390436e881b8, type: 3} propertyPath: m_Action.m_PersistentCalls.m_Calls.Array.data[0].m_Target - value: + value: objectReference: {fileID: 11448696} - target: {fileID: 7879899076693153277, guid: 0963942396a615f4fb1b390436e881b8, type: 3} @@ -2740,8 +2830,8 @@ MonoBehaviour: m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: 07f172f1096366841bb9362060bb0095, type: 3} - m_Name: - m_EditorClassIdentifier: + m_Name: + m_EditorClassIdentifier: --- !u!4 &6719421231139174678 stripped Transform: m_CorrespondingSourceObject: {fileID: 7631838532712089505, guid: 0963942396a615f4fb1b390436e881b8, @@ -3002,6 +3092,86 @@ Transform: type: 3} m_PrefabInstance: {fileID: 5199144688110302393} m_PrefabAsset: {fileID: 0} +--- !u!1001 &5960070999114058200 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 8533497137806158463} + m_Modifications: + - target: {fileID: 3936506208097564779, guid: e5780f95f442f3a4da78f2223e188565, + type: 3} + propertyPath: m_RootOrder + value: 4 + objectReference: {fileID: 0} + - target: {fileID: 3936506208097564779, guid: e5780f95f442f3a4da78f2223e188565, + type: 3} + propertyPath: m_LocalPosition.x + value: -0.68226534 + objectReference: {fileID: 0} + - target: {fileID: 3936506208097564779, guid: e5780f95f442f3a4da78f2223e188565, + type: 3} + propertyPath: m_LocalPosition.y + value: -1.014 + objectReference: {fileID: 0} + - target: {fileID: 3936506208097564779, guid: e5780f95f442f3a4da78f2223e188565, + type: 3} + propertyPath: m_LocalPosition.z + value: 0.003 + objectReference: {fileID: 0} + - target: {fileID: 3936506208097564779, guid: e5780f95f442f3a4da78f2223e188565, + type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 3936506208097564779, guid: e5780f95f442f3a4da78f2223e188565, + type: 3} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 3936506208097564779, guid: e5780f95f442f3a4da78f2223e188565, + type: 3} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 3936506208097564779, guid: e5780f95f442f3a4da78f2223e188565, + type: 3} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 3936506208097564779, guid: e5780f95f442f3a4da78f2223e188565, + type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3936506208097564779, guid: e5780f95f442f3a4da78f2223e188565, + type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3936506208097564779, guid: e5780f95f442f3a4da78f2223e188565, + type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3939805207058402167, guid: e5780f95f442f3a4da78f2223e188565, + type: 3} + propertyPath: m_Name + value: ReferencePanelLibrayButtonSoundClip + objectReference: {fileID: 0} + - target: {fileID: 3979616502385903245, guid: e5780f95f442f3a4da78f2223e188565, + type: 3} + propertyPath: m_ButtonTexture + value: + objectReference: {fileID: 2800000, guid: 32c1b6205fdb5af4996e2a51c4df9eb7, type: 3} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: e5780f95f442f3a4da78f2223e188565, type: 3} +--- !u!4 &7212281109223797171 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 3936506208097564779, guid: e5780f95f442f3a4da78f2223e188565, + type: 3} + m_PrefabInstance: {fileID: 5960070999114058200} + m_PrefabAsset: {fileID: 0} --- !u!1001 &6150219997261872517 PrefabInstance: m_ObjectHideFlags: 0 @@ -3081,8 +3251,8 @@ MonoBehaviour: m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: 8c14dbf20becb4d4aa2169ca75ab8413, type: 3} - m_Name: - m_EditorClassIdentifier: + m_Name: + m_EditorClassIdentifier: --- !u!4 &8756851318281134877 stripped Transform: m_CorrespondingSourceObject: {fileID: 3233423317671272088, guid: 9114a4ea00369d34a80dabcbe3517d85, @@ -3109,7 +3279,7 @@ PrefabInstance: - target: {fileID: 2323353000080118199, guid: bb51b0dc7d0840f4ca79f5cbee2db4f9, type: 3} propertyPath: m_Action.m_PersistentCalls.m_Calls.Array.data[0].m_Target - value: + value: objectReference: {fileID: 11448696} - target: {fileID: 2323353000080118199, guid: bb51b0dc7d0840f4ca79f5cbee2db4f9, type: 3} @@ -3684,7 +3854,7 @@ PrefabInstance: - target: {fileID: 7879899076693153277, guid: 0963942396a615f4fb1b390436e881b8, type: 3} propertyPath: m_ButtonTexture - value: + value: objectReference: {fileID: 2800000, guid: e88e8e089c5b48548a0eaace64b2723b, type: 3} - target: {fileID: 7879899076693153277, guid: 0963942396a615f4fb1b390436e881b8, type: 3} @@ -3704,7 +3874,7 @@ PrefabInstance: - target: {fileID: 7879899076693153277, guid: 0963942396a615f4fb1b390436e881b8, type: 3} propertyPath: m_Action.m_PersistentCalls.m_Calls.Array.data[0].m_Target - value: + value: objectReference: {fileID: 11448696} - target: {fileID: 7879899076693153277, guid: 0963942396a615f4fb1b390436e881b8, type: 3} @@ -3744,8 +3914,8 @@ MonoBehaviour: m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: 07f172f1096366841bb9362060bb0095, type: 3} - m_Name: - m_EditorClassIdentifier: + m_Name: + m_EditorClassIdentifier: --- !u!1001 &8543226798868867278 PrefabInstance: m_ObjectHideFlags: 0 diff --git a/Assets/Prefabs/Panels/ReferencePanel/ReferencePanelIconVideo 1.prefab b/Assets/Prefabs/Panels/ReferencePanel/ReferencePanelIconVideo 1.prefab new file mode 100644 index 0000000000..6eeaa27b97 --- /dev/null +++ b/Assets/Prefabs/Panels/ReferencePanel/ReferencePanelIconVideo 1.prefab @@ -0,0 +1,126 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1001 &7042166879067477140 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: + - target: {fileID: 2479500690962014025, guid: 4a65493d12e7e0948a7d4c2826d24be3, + type: 3} + propertyPath: m_RootOrder + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2479500690962014025, guid: 4a65493d12e7e0948a7d4c2826d24be3, + type: 3} + propertyPath: m_LocalPosition.x + value: 0.623 + objectReference: {fileID: 0} + - target: {fileID: 2479500690962014025, guid: 4a65493d12e7e0948a7d4c2826d24be3, + type: 3} + propertyPath: m_LocalPosition.y + value: -0.41820002 + objectReference: {fileID: 0} + - target: {fileID: 2479500690962014025, guid: 4a65493d12e7e0948a7d4c2826d24be3, + type: 3} + propertyPath: m_LocalPosition.z + value: 0.05 + objectReference: {fileID: 0} + - target: {fileID: 2479500690962014025, guid: 4a65493d12e7e0948a7d4c2826d24be3, + type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 2479500690962014025, guid: 4a65493d12e7e0948a7d4c2826d24be3, + type: 3} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 2479500690962014025, guid: 4a65493d12e7e0948a7d4c2826d24be3, + type: 3} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 2479500690962014025, guid: 4a65493d12e7e0948a7d4c2826d24be3, + type: 3} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 2479500690962014025, guid: 4a65493d12e7e0948a7d4c2826d24be3, + type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2479500690962014025, guid: 4a65493d12e7e0948a7d4c2826d24be3, + type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2479500690962014025, guid: 4a65493d12e7e0948a7d4c2826d24be3, + type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2479500690962267317, guid: 4a65493d12e7e0948a7d4c2826d24be3, + type: 3} + propertyPath: m_Name + value: ReferencePanelIconVideo 1 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 4a65493d12e7e0948a7d4c2826d24be3, type: 3} +--- !u!1 &4887032089606793249 stripped +GameObject: + m_CorrespondingSourceObject: {fileID: 2479500690962267317, guid: 4a65493d12e7e0948a7d4c2826d24be3, + type: 3} + m_PrefabInstance: {fileID: 7042166879067477140} + m_PrefabAsset: {fileID: 0} +--- !u!114 &1319052699816627709 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4887032089606793249} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 24551363d68fa9848b0d5e8aa9e245ac, type: 3} + m_Name: + m_EditorClassIdentifier: + m_DescriptionType: 0 + m_DescriptionYOffset: 0 + m_DescriptionText: + m_LocalizedDescription: + m_TableReference: + m_TableCollectionName: + m_TableEntryReference: + m_KeyId: 0 + m_Key: + m_FallbackState: 0 + m_WaitForCompletion: 0 + m_LocalVariables: [] + m_DescriptionTextExtra: + m_LocalizedDescriptionExtra: + m_TableReference: + m_TableCollectionName: + m_TableEntryReference: + m_KeyId: 0 + m_Key: + m_FallbackState: 0 + m_WaitForCompletion: 0 + m_LocalVariables: [] + m_DescriptionActivateSpeed: 12 + m_DescriptionZScale: 1 + m_ButtonTexture: {fileID: 2800000, guid: 92139e46e58d3924fb8e16ba42a0145f, type: 3} + m_AtlasTexture: 0 + m_ToggleButton: 0 + m_LongPressReleaseButton: 0 + m_ButtonHasPressedAudio: 0 + m_ZAdjustHover: -0.02 + m_ZAdjustClick: 0.05 + m_HoverScale: 1.1 + m_HoverBoxColliderGrow: 0.2 + m_AddOverlay: 0 + references: + version: 2 + RefIds: [] diff --git a/Assets/Prefabs/Panels/ReferencePanel/ReferencePanelIconVideo 1.prefab.meta b/Assets/Prefabs/Panels/ReferencePanel/ReferencePanelIconVideo 1.prefab.meta new file mode 100644 index 0000000000..d291eb9ad0 --- /dev/null +++ b/Assets/Prefabs/Panels/ReferencePanel/ReferencePanelIconVideo 1.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: bf78ede73a1b5654cb9943c8944692b4 +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Prefabs/Panels/ReferencePanel/ReferencePanelLibrayButtonSoundClip.prefab b/Assets/Prefabs/Panels/ReferencePanel/ReferencePanelLibrayButtonSoundClip.prefab new file mode 100644 index 0000000000..d191963455 --- /dev/null +++ b/Assets/Prefabs/Panels/ReferencePanel/ReferencePanelLibrayButtonSoundClip.prefab @@ -0,0 +1,150 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1 &3939805207058402167 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 3936506208097564779} + - component: {fileID: 3952558626498758423} + - component: {fileID: 3962820316465271873} + - component: {fileID: 3911832977196612369} + - component: {fileID: 3979616502385903245} + m_Layer: 16 + m_Name: ReferencePanelLibrayButtonSoundClip + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &3936506208097564779 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3939805207058402167} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -0.68226534, y: -1.014, z: 0.003} + m_LocalScale: {x: 0.39299998, y: 0.39299998, z: 0.39299998} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!33 &3952558626498758423 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3939805207058402167} + m_Mesh: {fileID: 4300000, guid: a25d7d3c2988d7b4eb7e46808a63b24c, type: 3} +--- !u!23 &3962820316465271873 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3939805207058402167} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + m_RayTraceProcedural: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: ecc3497a7e7c32648ac760d1fbecdb73, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_AdditionalVertexStreams: {fileID: 0} +--- !u!65 &3911832977196612369 +BoxCollider: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3939805207058402167} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1.1, y: 0.8, z: 0.025} + m_Center: {x: 0, y: 0, z: 0} +--- !u!114 &3979616502385903245 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3939805207058402167} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: cd93e96b781b14453b31e8ecb9ac1204, type: 3} + m_Name: + m_EditorClassIdentifier: + m_DescriptionType: 0 + m_DescriptionYOffset: 0 + m_DescriptionText: PANEL_AUDIO_CLIP_DESCRIPTION + m_LocalizedDescription: + m_TableReference: + m_TableCollectionName: GUID:c84355079ab3f3e4f8f3812258805f86 + m_TableEntryReference: + m_KeyId: 144201565051027456 + m_Key: + m_FallbackState: 0 + m_WaitForCompletion: 0 + m_LocalVariables: [] + m_DescriptionTextExtra: + m_LocalizedDescriptionExtra: + m_TableReference: + m_TableCollectionName: + m_TableEntryReference: + m_KeyId: 0 + m_Key: + m_FallbackState: 0 + m_WaitForCompletion: 0 + m_LocalVariables: [] + m_DescriptionActivateSpeed: 12 + m_DescriptionZScale: 1 + m_ButtonTexture: {fileID: 2800000, guid: be5ae98f7ff9b5c48aab7018e4c1084c, type: 3} + m_AtlasTexture: 0 + m_ToggleButton: 1 + m_LongPressReleaseButton: 0 + m_ButtonHasPressedAudio: 1 + m_ZAdjustHover: -0.05 + m_ZAdjustClick: 0 + m_HoverScale: 1 + m_HoverBoxColliderGrow: 0.2 + m_AddOverlay: 0 + m_ButtonType: 5 + references: + version: 2 + RefIds: [] diff --git a/Assets/Prefabs/Panels/ReferencePanel/ReferencePanelLibrayButtonSoundClip.prefab.meta b/Assets/Prefabs/Panels/ReferencePanel/ReferencePanelLibrayButtonSoundClip.prefab.meta new file mode 100644 index 0000000000..f4cc8b96c5 --- /dev/null +++ b/Assets/Prefabs/Panels/ReferencePanel/ReferencePanelLibrayButtonSoundClip.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: e5780f95f442f3a4da78f2223e188565 +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Prefabs/Panels/ReferencePanel/ReferencePanelTabSoundClip.prefab b/Assets/Prefabs/Panels/ReferencePanel/ReferencePanelTabSoundClip.prefab new file mode 100644 index 0000000000..6803960788 --- /dev/null +++ b/Assets/Prefabs/Panels/ReferencePanel/ReferencePanelTabSoundClip.prefab @@ -0,0 +1,2941 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1 &896181631421354844 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1975088546650945687} + - component: {fileID: 6611605048997756351} + - component: {fileID: 5128619659554451441} + - component: {fileID: 1049992680186265284} + m_Layer: 16 + m_Name: Quad + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1975088546650945687 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 896181631421354844} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: -0.139, z: 0} + m_LocalScale: {x: 1.7777778, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 322677208594315543} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!33 &6611605048997756351 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 896181631421354844} + m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0} +--- !u!23 &5128619659554451441 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 896181631421354844} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + m_RayTraceProcedural: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: 8abca4e4c3fe53347928928c0b64d985, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_AdditionalVertexStreams: {fileID: 0} +--- !u!64 &1049992680186265284 +MeshCollider: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 896181631421354844} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 4 + m_Convex: 0 + m_CookingOptions: 30 + m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &1135722248369929032 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 6737648776021719934} + - component: {fileID: 1955147190906362814} + - component: {fileID: 34669125957242995} + - component: {fileID: 6746144757271315879} + m_Layer: 16 + m_Name: SliderPosition + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &6737648776021719934 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1135722248369929032} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -0.0776, y: 0, z: 0} + m_LocalScale: {x: 0.017416663, y: 0.032291666, z: 0.015000001} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 4871108018091631855} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!33 &1955147190906362814 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1135722248369929032} + m_Mesh: {fileID: 4300000, guid: 5ef960ddf11c1fd4983638f56f6a8be0, type: 3} +--- !u!23 &34669125957242995 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1135722248369929032} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + m_RayTraceProcedural: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: 3e92ccbfed650604686991e69902e663, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_AdditionalVertexStreams: {fileID: 0} +--- !u!114 &6746144757271315879 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1135722248369929032} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 1aaefde5afe80784e908d27fcb05a101, type: 3} + m_Name: + m_EditorClassIdentifier: + m_OffsetOverride: -1 +--- !u!1 &1764577096919167702 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1764577096919658230} + - component: {fileID: 1764577096918363862} + - component: {fileID: 1764577096917232662} + - component: {fileID: 3285889161136258260} + - component: {fileID: 7840759891445544538} + m_Layer: 0 + m_Name: SoundClipControls + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1764577096919658230 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1764577096919167702} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0.77604264, y: -0.2735, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 322677208594315543} + - {fileID: 2042477159760314479} + - {fileID: 6826766934122703524} + - {fileID: 4871108018091631855} + m_Father: {fileID: 7488257428914698293} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!33 &1764577096918363862 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1764577096919167702} + m_Mesh: {fileID: 4300000, guid: 16fad2a698203b44bb45a3844e1ad126, type: 3} +--- !u!23 &1764577096917232662 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1764577096919167702} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + m_RayTraceProcedural: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: 3e92ccbfed650604686991e69902e663, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_AdditionalVertexStreams: {fileID: 0} +--- !u!65 &3285889161136258260 +BoxCollider: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1764577096919167702} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1.4325049, y: 1.86, z: 0.10579379} + m_Center: {x: 0.00015869737, y: -0.0006583929, z: 0.05061435} +--- !u!114 &7840759891445544538 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1764577096919167702} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 1aaefde5afe80784e908d27fcb05a101, type: 3} + m_Name: + m_EditorClassIdentifier: + m_OffsetOverride: -1 +--- !u!1 &2042477159760005609 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 2042477159760376109} + - component: {fileID: 2042477159758334565} + m_Layer: 16 + m_Name: Collider + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &2042477159760376109 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2042477159760005609} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 0.295, y: 0.109721534, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 2042477159760314479} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!65 &2042477159758334565 +BoxCollider: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2042477159760005609} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 0.1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!1 &2042477159760013365 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 2042477159760292099} + - component: {fileID: 2042477159761060301} + - component: {fileID: 2042477159762196183} + - component: {fileID: 2147980562275335721} + m_Layer: 16 + m_Name: SliderPosition + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &2042477159760292099 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2042477159760013365} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: -0.1307, y: 0, z: 0} + m_LocalScale: {x: 0.01, y: 0.05, z: 0.015} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 2042477159760314479} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!33 &2042477159761060301 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2042477159760013365} + m_Mesh: {fileID: 4300000, guid: 5ef960ddf11c1fd4983638f56f6a8be0, type: 3} +--- !u!23 &2042477159762196183 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2042477159760013365} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + m_RayTraceProcedural: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: 3e92ccbfed650604686991e69902e663, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_AdditionalVertexStreams: {fileID: 0} +--- !u!114 &2147980562275335721 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2042477159760013365} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 1aaefde5afe80784e908d27fcb05a101, type: 3} + m_Name: + m_EditorClassIdentifier: + m_OffsetOverride: -1 +--- !u!1 &2042477159760024859 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 2042477159760384713} + - component: {fileID: 2042477159761138239} + - component: {fileID: 2042477159762183781} + m_Layer: 16 + m_Name: Cap + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 0 +--- !u!4 &2042477159760384713 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2042477159760024859} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: -0.1682, y: -0, z: 0.0002105044} + m_LocalScale: {x: 0.0375, y: 0.0375, z: 0.0375} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 2042477159760314479} + m_RootOrder: 4 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!33 &2042477159761138239 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2042477159760024859} + m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0} +--- !u!23 &2042477159762183781 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2042477159760024859} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 0 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + m_RayTraceProcedural: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: ca448c25e886c544796b10b98d8aa9cc, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_AdditionalVertexStreams: {fileID: 0} +--- !u!1 &2042477159760062113 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 2042477159760336219} + - component: {fileID: 2042477159761132933} + - component: {fileID: 2042477159762229907} + - component: {fileID: 2042477159770284949} + m_Layer: 16 + m_Name: MaxIcon + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 0 +--- !u!4 &2042477159760336219 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2042477159760062113} + m_LocalRotation: {x: 0, y: 0, z: 0.7071068, w: -0.7071068} + m_LocalPosition: {x: 0.2698, y: -0, z: 0} + m_LocalScale: {x: 0.8, y: 0.8, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 2042477159760314479} + m_RootOrder: 6 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!33 &2042477159761132933 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2042477159760062113} + m_Mesh: {fileID: 4300000, guid: 260cc07aabcea6d41a633a35c1103a6c, type: 3} +--- !u!23 &2042477159762229907 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2042477159760062113} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 0 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + m_RayTraceProcedural: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: 40d29de2bdc11f04dbfa25059165916e, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_AdditionalVertexStreams: {fileID: 0} +--- !u!114 &2042477159770284949 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2042477159760062113} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 0fda994627665a24b888af25f8c55ce4, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Icon: {fileID: 2800000, guid: b474ed7ef5a1e1f44be200e24a9c3e39, type: 3} +--- !u!1 &2042477159760062351 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 2042477159760314479} + - component: {fileID: 3260295787887953759} + m_Layer: 16 + m_Name: TimelineSlider + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &2042477159760314479 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2042477159760062351} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: -0.0119999945, z: -0.03} + m_LocalScale: {x: 4.18, y: 1.55, z: 2.5} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 2042477159760376109} + - {fileID: 2042477159760291685} + - {fileID: 2042477159760292099} + - {fileID: 2042477159760325753} + - {fileID: 2042477159760384713} + - {fileID: 2042477159760378071} + - {fileID: 2042477159760336219} + m_Father: {fileID: 1764577096919658230} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &3260295787887953759 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2042477159760062351} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4e4806aced191314da8c00dae0231e5f, type: 3} + m_Name: + m_EditorClassIdentifier: + m_DescriptionType: -1 + m_DescriptionYOffset: 0 + m_DescriptionText: + m_LocalizedDescription: + m_TableReference: + m_TableCollectionName: + m_TableEntryReference: + m_KeyId: 0 + m_Key: + m_FallbackState: 0 + m_WaitForCompletion: 0 + m_LocalVariables: [] + m_DescriptionTextExtra: + m_LocalizedDescriptionExtra: + m_TableReference: + m_TableCollectionName: + m_TableEntryReference: + m_KeyId: 0 + m_Key: + m_FallbackState: 0 + m_WaitForCompletion: 0 + m_LocalVariables: [] + m_DescriptionActivateSpeed: 12 + m_DescriptionZScale: 10 + m_Nob: {fileID: 2042477159760013365} + m_Mesh: {fileID: 2042477159762211315} + references: + version: 2 + RefIds: [] +--- !u!1 &2042477159760204025 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 2042477159760378071} + - component: {fileID: 2042477159761069447} + - component: {fileID: 2042477159762223549} + - component: {fileID: 2042477159770282791} + m_Layer: 16 + m_Name: MinIcon + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 0 +--- !u!4 &2042477159760378071 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2042477159760204025} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: -0.2715, y: 0, z: 0} + m_LocalScale: {x: 0.8, y: 0.8, z: 0.8} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 2042477159760314479} + m_RootOrder: 5 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!33 &2042477159761069447 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2042477159760204025} + m_Mesh: {fileID: 4300000, guid: 260cc07aabcea6d41a633a35c1103a6c, type: 3} +--- !u!23 &2042477159762223549 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2042477159760204025} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 0 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + m_RayTraceProcedural: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: 40d29de2bdc11f04dbfa25059165916e, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_AdditionalVertexStreams: {fileID: 0} +--- !u!114 &2042477159770282791 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2042477159760204025} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 0fda994627665a24b888af25f8c55ce4, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Icon: {fileID: 2800000, guid: b474ed7ef5a1e1f44be200e24a9c3e39, type: 3} +--- !u!1 &2042477159760206529 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 2042477159760325753} + - component: {fileID: 2042477159761136771} + - component: {fileID: 2042477159762547167} + m_Layer: 16 + m_Name: Cap + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 0 +--- !u!4 &2042477159760325753 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2042477159760206529} + m_LocalRotation: {x: 0, y: 0, z: 1, w: 0} + m_LocalPosition: {x: 0.1683, y: 0, z: 0.00021062419} + m_LocalScale: {x: 0.0375, y: 0.0375, z: 0.0375} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 2042477159760314479} + m_RootOrder: 3 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!33 &2042477159761136771 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2042477159760206529} + m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0} +--- !u!23 &2042477159762547167 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2042477159760206529} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 0 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + m_RayTraceProcedural: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: ca448c25e886c544796b10b98d8aa9cc, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_AdditionalVertexStreams: {fileID: 0} +--- !u!1 &2042477159760228107 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 2042477159760291685} + - component: {fileID: 2042477159762211315} + - component: {fileID: 2042477159761121447} + m_Layer: 16 + m_Name: Mesh + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &2042477159760291685 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2042477159760228107} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 0.3, y: 0.0375, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 2042477159760314479} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!23 &2042477159762211315 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2042477159760228107} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 0 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + m_RayTraceProcedural: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: db2d9e5107064e64ea8ce921e6f24458, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_AdditionalVertexStreams: {fileID: 0} +--- !u!33 &2042477159761121447 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2042477159760228107} + m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &2423072313716971842 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 9121402854645544662} + - component: {fileID: 3563621136810383813} + m_Layer: 16 + m_Name: Collider + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &9121402854645544662 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2423072313716971842} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 0.25, y: 0.09, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 4871108018091631855} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!65 &3563621136810383813 +BoxCollider: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2423072313716971842} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 0.1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!1 &5181322565117940944 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 6826766934122703524} + m_Layer: 0 + m_Name: PlaybackButtons + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &6826766934122703524 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5181322565117940944} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: -0.338, z: 0} + m_LocalScale: {x: 0.6, y: 0.6, z: 0.6} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 1819353976050480489} + - {fileID: 2086891105765502287} + - {fileID: 8133214958621898451} + m_Father: {fileID: 1764577096919658230} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &5725626413214337075 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 5486011782673994455} + - component: {fileID: 3398442449558121483} + - component: {fileID: 1289043672157857033} + - component: {fileID: 4567581341879741631} + m_Layer: 16 + m_Name: MinIcon + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &5486011782673994455 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5725626413214337075} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: -0.215, y: 0, z: 0} + m_LocalScale: {x: 0.8, y: 0.8, z: 0.8} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 4871108018091631855} + m_RootOrder: 5 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!33 &3398442449558121483 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5725626413214337075} + m_Mesh: {fileID: 4300000, guid: 260cc07aabcea6d41a633a35c1103a6c, type: 3} +--- !u!23 &1289043672157857033 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5725626413214337075} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 0 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + m_RayTraceProcedural: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: 40d29de2bdc11f04dbfa25059165916e, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_AdditionalVertexStreams: {fileID: 0} +--- !u!114 &4567581341879741631 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5725626413214337075} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 0fda994627665a24b888af25f8c55ce4, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Icon: {fileID: 2800000, guid: 38f49c5949374144bb6047391c86a8b0, type: 3} +--- !u!1 &5838607888599009430 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 7488257428914698293} + m_Layer: 16 + m_Name: SoundClipControls Hinge + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &7488257428914698293 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5838607888599009430} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0.953, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 1764577096919658230} + m_Father: {fileID: 3891058746504678318} + m_RootOrder: 9 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &6015858894478443644 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 4871108018091631855} + - component: {fileID: 4990517677825780571} + m_Layer: 16 + m_Name: VolumeSlider + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &4871108018091631855 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6015858894478443644} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: -0.667, z: 0} + m_LocalScale: {x: 2.4, y: 2.4, z: 2.4999998} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 9121402854645544662} + - {fileID: 4808799142949319647} + - {fileID: 6737648776021719934} + - {fileID: 7456447107513267005} + - {fileID: 1035645040349747268} + - {fileID: 5486011782673994455} + - {fileID: 6234005124787899825} + m_Father: {fileID: 1764577096919658230} + m_RootOrder: 3 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &4990517677825780571 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6015858894478443644} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 86ca8257102cb704f8f79c04f55e1846, type: 3} + m_Name: + m_EditorClassIdentifier: + m_DescriptionType: -1 + m_DescriptionYOffset: 0 + m_DescriptionText: + m_LocalizedDescription: + m_TableReference: + m_TableCollectionName: + m_TableEntryReference: + m_KeyId: 0 + m_Key: + m_FallbackState: 0 + m_WaitForCompletion: 0 + m_LocalVariables: [] + m_DescriptionTextExtra: + m_LocalizedDescriptionExtra: + m_TableReference: + m_TableCollectionName: + m_TableEntryReference: + m_KeyId: 0 + m_Key: + m_FallbackState: 0 + m_WaitForCompletion: 0 + m_LocalVariables: [] + m_DescriptionActivateSpeed: 12 + m_DescriptionZScale: 1 + m_Nob: {fileID: 1135722248369929032} + m_Mesh: {fileID: 48407087727397758} + m_Property: + m_Target: {fileID: 8553841389093772640} + m_PropertyName: SelectedSoundClipVolume + m_Range: {x: 0, y: 1} + m_PowerCurve: 0.5 + references: + version: 2 + RefIds: [] +--- !u!1 &6848423948958616181 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 322677208594315543} + m_Layer: 0 + m_Name: Preview + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &322677208594315543 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6848423948958616181} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0.577, z: 0} + m_LocalScale: {x: 0.70426255, y: 0.70426255, z: 0.70426255} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 1975088546650945687} + m_Father: {fileID: 1764577096919658230} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &7075168047643485068 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 7456447107513267005} + - component: {fileID: 3752024823723313428} + - component: {fileID: 4180904833668120390} + m_Layer: 16 + m_Name: Cap + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &7456447107513267005 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7075168047643485068} + m_LocalRotation: {x: 0, y: 0, z: 1, w: 0} + m_LocalPosition: {x: 0.1373, y: 0, z: 0.00021062419} + m_LocalScale: {x: 0.025, y: 0.025, z: 0.0375} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 4871108018091631855} + m_RootOrder: 3 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!33 &3752024823723313428 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7075168047643485068} + m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0} +--- !u!23 &4180904833668120390 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7075168047643485068} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 0 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + m_RayTraceProcedural: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: ca448c25e886c544796b10b98d8aa9cc, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_AdditionalVertexStreams: {fileID: 0} +--- !u!1 &7601573036657319858 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 4808799142949319647} + - component: {fileID: 48407087727397758} + - component: {fileID: 8863108255639263456} + m_Layer: 16 + m_Name: Mesh + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &4808799142949319647 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7601573036657319858} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 0.25, y: 0.025, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 4871108018091631855} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!23 &48407087727397758 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7601573036657319858} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 0 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + m_RayTraceProcedural: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: db2d9e5107064e64ea8ce921e6f24458, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_AdditionalVertexStreams: {fileID: 0} +--- !u!33 &8863108255639263456 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7601573036657319858} + m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &8610974040346170107 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 6234005124787899825} + - component: {fileID: 8381663914405585404} + - component: {fileID: 6974821110014765406} + - component: {fileID: 3170694160889619932} + m_Layer: 16 + m_Name: MaxIcon + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &6234005124787899825 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8610974040346170107} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0.215, y: -0, z: 0} + m_LocalScale: {x: 0.8, y: 0.8, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 4871108018091631855} + m_RootOrder: 6 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!33 &8381663914405585404 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8610974040346170107} + m_Mesh: {fileID: 4300000, guid: 260cc07aabcea6d41a633a35c1103a6c, type: 3} +--- !u!23 &6974821110014765406 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8610974040346170107} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 0 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + m_RayTraceProcedural: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: 40d29de2bdc11f04dbfa25059165916e, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_AdditionalVertexStreams: {fileID: 0} +--- !u!114 &3170694160889619932 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8610974040346170107} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 0fda994627665a24b888af25f8c55ce4, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Icon: {fileID: 2800000, guid: a375998199982a14a9099edfa90202db, type: 3} +--- !u!1 &8695216695422032127 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 3891058746504678318} + - component: {fileID: 8553841389093772640} + m_Layer: 16 + m_Name: ReferencePanelTabSoundClip + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &3891058746504678318 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8695216695422032127} + 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: + - {fileID: 8494528060082137562} + - {fileID: 8495732983929709308} + - {fileID: 4689841433404263126} + - {fileID: 305059557986449420} + - {fileID: 400532084346436074} + - {fileID: 4457426881587086695} + - {fileID: 1011828910837575333} + - {fileID: 3883704641979357644} + - {fileID: 5833970052723182508} + - {fileID: 7488257428914698293} + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &8553841389093772640 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8695216695422032127} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: dcee1b430b77a424cb40c11cdf48c840, type: 3} + m_Name: + m_EditorClassIdentifier: + m_PanelName: + m_TableReference: + m_TableCollectionName: GUID:c84355079ab3f3e4f8f3812258805f86 + m_TableEntryReference: + m_KeyId: 144204798700027904 + m_Key: + m_FallbackState: 0 + m_WaitForCompletion: 0 + m_LocalVariables: [] + m_SoundClipControls: {fileID: 5838607888599009430} + m_SoundClipControlsCollider: {fileID: 3285889161136258260} + m_Preview: {fileID: 896181631421354844} + m_Scrubber: {fileID: 3260295787887953759} + m_SoundClipSkipTime: 10 + m_ErrorTexture: {fileID: 2800000, guid: b68201fa2e266264089f97700761a547, type: 3} + m_LoadingTexture: {fileID: 2800000, guid: 120fb3201405dd846a9f9e807d24e1b6, type: 3} + references: + version: 2 + RefIds: [] +--- !u!1 &9192567423976779258 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1035645040349747268} + - component: {fileID: 233853202642518516} + - component: {fileID: 8805278338142912750} + m_Layer: 16 + m_Name: Cap + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1035645040349747268 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 9192567423976779258} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: -0.13738, y: -0, z: 0.0002105044} + m_LocalScale: {x: 0.025, y: 0.025, z: 0.0375} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 4871108018091631855} + m_RootOrder: 4 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!33 &233853202642518516 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 9192567423976779258} + m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0} +--- !u!23 &8805278338142912750 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 9192567423976779258} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 0 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + m_RayTraceProcedural: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: ca448c25e886c544796b10b98d8aa9cc, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_AdditionalVertexStreams: {fileID: 0} +--- !u!1001 &200287198775247115 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 3891058746504678318} + m_Modifications: + - target: {fileID: 4887032089606793249, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_Name + value: ReferencePanelIcon4 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_RootOrder + value: 3 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalPosition.x + value: -0.216 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalPosition.y + value: -0.001999855 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalPosition.z + value: 0.05 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4887032089606793249, guid: bf78ede73a1b5654cb9943c8944692b4, + type: 3} + propertyPath: m_Name + value: ReferencePanelIcon3 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: bf78ede73a1b5654cb9943c8944692b4, + type: 3} + propertyPath: m_RootOrder + value: 2 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: bf78ede73a1b5654cb9943c8944692b4, + type: 3} + propertyPath: m_LocalPosition.x + value: 0.623 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: bf78ede73a1b5654cb9943c8944692b4, + type: 3} + propertyPath: m_LocalPosition.y + value: 0.4159999 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: bf78ede73a1b5654cb9943c8944692b4, type: 3} +--- !u!4 &4689841433404263126 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 4887032089607064541, guid: bf78ede73a1b5654cb9943c8944692b4, + type: 3} + m_PrefabInstance: {fileID: 200287198775247115} + m_PrefabAsset: {fileID: 0} +--- !u!1001 &307829413729020618 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 6826766934122703524} + m_Modifications: + - target: {fileID: 1779908526734247813, guid: c2a88d23f4dea5a4aae06f33862c9716, + type: 3} + propertyPath: m_RootOrder + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 1779908526734247813, guid: c2a88d23f4dea5a4aae06f33862c9716, + type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1779908526734247813, guid: c2a88d23f4dea5a4aae06f33862c9716, + type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1779908526734247813, guid: c2a88d23f4dea5a4aae06f33862c9716, + type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1779908526734247813, guid: c2a88d23f4dea5a4aae06f33862c9716, + type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 1779908526734247813, guid: c2a88d23f4dea5a4aae06f33862c9716, + type: 3} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 1779908526734247813, guid: c2a88d23f4dea5a4aae06f33862c9716, + type: 3} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 1779908526734247813, guid: c2a88d23f4dea5a4aae06f33862c9716, + type: 3} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 1779908526734247813, guid: c2a88d23f4dea5a4aae06f33862c9716, + type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1779908526734247813, guid: c2a88d23f4dea5a4aae06f33862c9716, + type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1779908526734247813, guid: c2a88d23f4dea5a4aae06f33862c9716, + type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1783251207675613781, guid: c2a88d23f4dea5a4aae06f33862c9716, + type: 3} + propertyPath: m_Name + value: Play/Pause + objectReference: {fileID: 0} + - target: {fileID: 7599348944369875173, guid: c2a88d23f4dea5a4aae06f33862c9716, + type: 3} + propertyPath: m_ButtonTexture + value: + objectReference: {fileID: 2800000, guid: bebd9dc5824bcc6419ab95987680c688, type: 3} + - target: {fileID: 7599348944369875173, guid: c2a88d23f4dea5a4aae06f33862c9716, + type: 3} + propertyPath: m_DescriptionText + value: PANEL_REFERENCE_BUTTON_VIDEO_PLAYPAUSE_DESCRIPTION + objectReference: {fileID: 0} + - target: {fileID: 7599348944369875173, guid: c2a88d23f4dea5a4aae06f33862c9716, + type: 3} + propertyPath: m_DescriptionType + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7599348944369875173, guid: c2a88d23f4dea5a4aae06f33862c9716, + type: 3} + propertyPath: m_InverseHighlight + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7599348944369875173, guid: c2a88d23f4dea5a4aae06f33862c9716, + type: 3} + propertyPath: m_Property.m_Target + value: + objectReference: {fileID: 8553841389093772640} + - target: {fileID: 7599348944369875173, guid: c2a88d23f4dea5a4aae06f33862c9716, + type: 3} + propertyPath: m_Property.m_PropertyName + value: SelectedSoundClipIsPlaying + objectReference: {fileID: 0} + - target: {fileID: 7599348944369875173, guid: c2a88d23f4dea5a4aae06f33862c9716, + type: 3} + propertyPath: m_LocalizedDescription.m_TableEntryReference.m_KeyId + value: 89074820936654848 + objectReference: {fileID: 0} + - target: {fileID: 7599348944369875173, guid: c2a88d23f4dea5a4aae06f33862c9716, + type: 3} + propertyPath: m_LocalizedDescription.m_TableReference.m_TableCollectionName + value: GUID:c84355079ab3f3e4f8f3812258805f86 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: c2a88d23f4dea5a4aae06f33862c9716, type: 3} +--- !u!4 &2086891105765502287 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 1779908526734247813, guid: c2a88d23f4dea5a4aae06f33862c9716, + type: 3} + m_PrefabInstance: {fileID: 307829413729020618} + m_PrefabAsset: {fileID: 0} +--- !u!1001 &1379320915575423089 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 3891058746504678318} + m_Modifications: + - target: {fileID: 4887032089606793249, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_Name + value: ReferencePanelIcon9 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_RootOrder + value: 8 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalPosition.x + value: 0.623 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalPosition.y + value: -0.41820002 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalPosition.z + value: 0.05 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4887032089606793249, guid: bf78ede73a1b5654cb9943c8944692b4, + type: 3} + propertyPath: m_Name + value: ReferencePanelIcon9 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: bf78ede73a1b5654cb9943c8944692b4, + type: 3} + propertyPath: m_RootOrder + value: 8 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: bf78ede73a1b5654cb9943c8944692b4, + type: 3} + propertyPath: m_LocalPosition.x + value: 0.623 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: bf78ede73a1b5654cb9943c8944692b4, + type: 3} + propertyPath: m_LocalPosition.y + value: -0.4182 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: bf78ede73a1b5654cb9943c8944692b4, type: 3} +--- !u!4 &5833970052723182508 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 4887032089607064541, guid: bf78ede73a1b5654cb9943c8944692b4, + type: 3} + m_PrefabInstance: {fileID: 1379320915575423089} + m_PrefabAsset: {fileID: 0} +--- !u!1001 &1816999435666485618 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 6826766934122703524} + m_Modifications: + - target: {fileID: 7630606763700834929, guid: 0963942396a615f4fb1b390436e881b8, + type: 3} + propertyPath: m_Name + value: Forward + objectReference: {fileID: 0} + - target: {fileID: 7631838532712089505, guid: 0963942396a615f4fb1b390436e881b8, + type: 3} + propertyPath: m_RootOrder + value: 2 + objectReference: {fileID: 0} + - target: {fileID: 7631838532712089505, guid: 0963942396a615f4fb1b390436e881b8, + type: 3} + propertyPath: m_LocalPosition.x + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 7631838532712089505, guid: 0963942396a615f4fb1b390436e881b8, + type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7631838532712089505, guid: 0963942396a615f4fb1b390436e881b8, + type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7631838532712089505, guid: 0963942396a615f4fb1b390436e881b8, + type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 7631838532712089505, guid: 0963942396a615f4fb1b390436e881b8, + type: 3} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 7631838532712089505, guid: 0963942396a615f4fb1b390436e881b8, + type: 3} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 7631838532712089505, guid: 0963942396a615f4fb1b390436e881b8, + type: 3} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 7631838532712089505, guid: 0963942396a615f4fb1b390436e881b8, + type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7631838532712089505, guid: 0963942396a615f4fb1b390436e881b8, + type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7631838532712089505, guid: 0963942396a615f4fb1b390436e881b8, + type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7879899076693153277, guid: 0963942396a615f4fb1b390436e881b8, + type: 3} + propertyPath: m_ButtonTexture + value: + objectReference: {fileID: 2800000, guid: 051968bf1a5ba9f4296736db9e15f4cc, type: 3} + - target: {fileID: 7879899076693153277, guid: 0963942396a615f4fb1b390436e881b8, + type: 3} + propertyPath: m_DescriptionText + value: PANEL_REFERENCE_BUTTON_VIDEO_FORWARD_DESCRIPTION + objectReference: {fileID: 0} + - target: {fileID: 7879899076693153277, guid: 0963942396a615f4fb1b390436e881b8, + type: 3} + propertyPath: m_Action.m_PersistentCalls.m_Calls.Array.size + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 7879899076693153277, guid: 0963942396a615f4fb1b390436e881b8, + type: 3} + propertyPath: m_LocalizedDescription.m_TableEntryReference.m_KeyId + value: 89074884501331968 + objectReference: {fileID: 0} + - target: {fileID: 7879899076693153277, guid: 0963942396a615f4fb1b390436e881b8, + type: 3} + propertyPath: m_Action.m_PersistentCalls.m_Calls.Array.data[0].m_Mode + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 7879899076693153277, guid: 0963942396a615f4fb1b390436e881b8, + type: 3} + propertyPath: m_Action.m_PersistentCalls.m_Calls.Array.data[0].m_Target + value: + objectReference: {fileID: 8553841389093772640} + - target: {fileID: 7879899076693153277, guid: 0963942396a615f4fb1b390436e881b8, + type: 3} + propertyPath: m_Action.m_PersistentCalls.m_Calls.Array.data[0].m_CallState + value: 2 + objectReference: {fileID: 0} + - target: {fileID: 7879899076693153277, guid: 0963942396a615f4fb1b390436e881b8, + type: 3} + propertyPath: m_Action.m_PersistentCalls.m_Calls.Array.data[0].m_MethodName + value: SkipForward + objectReference: {fileID: 0} + - target: {fileID: 7879899076693153277, guid: 0963942396a615f4fb1b390436e881b8, + type: 3} + propertyPath: m_LocalizedDescription.m_TableReference.m_TableCollectionName + value: GUID:c84355079ab3f3e4f8f3812258805f86 + objectReference: {fileID: 0} + - target: {fileID: 7879899076693153277, guid: 0963942396a615f4fb1b390436e881b8, + type: 3} + propertyPath: m_Action.m_PersistentCalls.m_Calls.Array.data[0].m_Arguments.m_ObjectArgumentAssemblyTypeName + value: UnityEngine.Object, UnityEngine + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 0963942396a615f4fb1b390436e881b8, type: 3} +--- !u!4 &8133214958621898451 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 7631838532712089505, guid: 0963942396a615f4fb1b390436e881b8, + type: 3} + m_PrefabInstance: {fileID: 1816999435666485618} + m_PrefabAsset: {fileID: 0} +--- !u!1001 &3904789691580178951 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 3891058746504678318} + m_Modifications: + - target: {fileID: 4887032089606793249, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_Name + value: ReferencePanelIcon2 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_RootOrder + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalPosition.x + value: 0.208 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalPosition.y + value: 0.4159999 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalPosition.z + value: 0.05 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4887032089606793249, guid: bf78ede73a1b5654cb9943c8944692b4, + type: 3} + propertyPath: m_Name + value: ReferencePanelIcon1 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: bf78ede73a1b5654cb9943c8944692b4, + type: 3} + propertyPath: m_RootOrder + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: bf78ede73a1b5654cb9943c8944692b4, + type: 3} + propertyPath: m_LocalPosition.x + value: -0.216 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: bf78ede73a1b5654cb9943c8944692b4, + type: 3} + propertyPath: m_LocalPosition.y + value: 0.4159999 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: bf78ede73a1b5654cb9943c8944692b4, type: 3} +--- !u!4 &8494528060082137562 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 4887032089607064541, guid: bf78ede73a1b5654cb9943c8944692b4, + type: 3} + m_PrefabInstance: {fileID: 3904789691580178951} + m_PrefabAsset: {fileID: 0} +--- !u!1001 &3905977571455920417 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 3891058746504678318} + m_Modifications: + - target: {fileID: 4887032089606793249, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_Name + value: ReferencePanelIcon3 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_RootOrder + value: 2 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalPosition.x + value: 0.623 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalPosition.y + value: 0.4159999 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalPosition.z + value: 0.05 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4887032089606793249, guid: bf78ede73a1b5654cb9943c8944692b4, + type: 3} + propertyPath: m_Name + value: ReferencePanelIcon2 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: bf78ede73a1b5654cb9943c8944692b4, + type: 3} + propertyPath: m_RootOrder + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: bf78ede73a1b5654cb9943c8944692b4, + type: 3} + propertyPath: m_LocalPosition.x + value: 0.208 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: bf78ede73a1b5654cb9943c8944692b4, + type: 3} + propertyPath: m_LocalPosition.y + value: 0.4159999 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: bf78ede73a1b5654cb9943c8944692b4, type: 3} +--- !u!4 &8495732983929709308 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 4887032089607064541, guid: bf78ede73a1b5654cb9943c8944692b4, + type: 3} + m_PrefabInstance: {fileID: 3905977571455920417} + m_PrefabAsset: {fileID: 0} +--- !u!1001 &5070138412421050935 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 3891058746504678318} + m_Modifications: + - target: {fileID: 4887032089606793249, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_Name + value: ReferencePanelIcon6 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_RootOrder + value: 5 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalPosition.x + value: 0.623 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalPosition.y + value: -0.001999855 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalPosition.z + value: 0.05 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4887032089606793249, guid: bf78ede73a1b5654cb9943c8944692b4, + type: 3} + propertyPath: m_Name + value: ReferencePanelIcon5 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: bf78ede73a1b5654cb9943c8944692b4, + type: 3} + propertyPath: m_RootOrder + value: 4 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: bf78ede73a1b5654cb9943c8944692b4, + type: 3} + propertyPath: m_LocalPosition.x + value: 0.208 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: bf78ede73a1b5654cb9943c8944692b4, + type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: bf78ede73a1b5654cb9943c8944692b4, type: 3} +--- !u!4 &400532084346436074 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 4887032089607064541, guid: bf78ede73a1b5654cb9943c8944692b4, + type: 3} + m_PrefabInstance: {fileID: 5070138412421050935} + m_PrefabAsset: {fileID: 0} +--- !u!1001 &5181940885644407761 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 3891058746504678318} + m_Modifications: + - target: {fileID: 4887032089606793249, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_Name + value: ReferencePanelIcon5 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_RootOrder + value: 4 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalPosition.x + value: 0.208 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalPosition.y + value: -0.001999855 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalPosition.z + value: 0.05 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4887032089606793249, guid: bf78ede73a1b5654cb9943c8944692b4, + type: 3} + propertyPath: m_Name + value: ReferencePanelIcon4 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: bf78ede73a1b5654cb9943c8944692b4, + type: 3} + propertyPath: m_RootOrder + value: 3 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: bf78ede73a1b5654cb9943c8944692b4, + type: 3} + propertyPath: m_LocalPosition.x + value: -0.216 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: bf78ede73a1b5654cb9943c8944692b4, + type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: bf78ede73a1b5654cb9943c8944692b4, type: 3} +--- !u!4 &305059557986449420 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 4887032089607064541, guid: bf78ede73a1b5654cb9943c8944692b4, + type: 3} + m_PrefabInstance: {fileID: 5181940885644407761} + m_PrefabAsset: {fileID: 0} +--- !u!1001 &5609379306410567032 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 3891058746504678318} + m_Modifications: + - target: {fileID: 4887032089606793249, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_Name + value: ReferencePanelIcon7 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_RootOrder + value: 6 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalPosition.x + value: -0.216 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalPosition.y + value: -0.41820002 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalPosition.z + value: 0.05 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4887032089606793249, guid: bf78ede73a1b5654cb9943c8944692b4, + type: 3} + propertyPath: m_Name + value: ReferencePanelIcon7 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: bf78ede73a1b5654cb9943c8944692b4, + type: 3} + propertyPath: m_RootOrder + value: 6 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: bf78ede73a1b5654cb9943c8944692b4, + type: 3} + propertyPath: m_LocalPosition.x + value: -0.216 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: bf78ede73a1b5654cb9943c8944692b4, + type: 3} + propertyPath: m_LocalPosition.y + value: -0.4182 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: bf78ede73a1b5654cb9943c8944692b4, type: 3} +--- !u!4 &1011828910837575333 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 4887032089607064541, guid: bf78ede73a1b5654cb9943c8944692b4, + type: 3} + m_PrefabInstance: {fileID: 5609379306410567032} + m_PrefabAsset: {fileID: 0} +--- !u!1001 &8130713083394896584 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 6826766934122703524} + m_Modifications: + - target: {fileID: 7630606763700834929, guid: 0963942396a615f4fb1b390436e881b8, + type: 3} + propertyPath: m_Name + value: Rewind + objectReference: {fileID: 0} + - target: {fileID: 7631838532712089505, guid: 0963942396a615f4fb1b390436e881b8, + type: 3} + propertyPath: m_RootOrder + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7631838532712089505, guid: 0963942396a615f4fb1b390436e881b8, + type: 3} + propertyPath: m_LocalPosition.x + value: -0.5 + objectReference: {fileID: 0} + - target: {fileID: 7631838532712089505, guid: 0963942396a615f4fb1b390436e881b8, + type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7631838532712089505, guid: 0963942396a615f4fb1b390436e881b8, + type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7631838532712089505, guid: 0963942396a615f4fb1b390436e881b8, + type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 7631838532712089505, guid: 0963942396a615f4fb1b390436e881b8, + type: 3} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 7631838532712089505, guid: 0963942396a615f4fb1b390436e881b8, + type: 3} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 7631838532712089505, guid: 0963942396a615f4fb1b390436e881b8, + type: 3} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 7631838532712089505, guid: 0963942396a615f4fb1b390436e881b8, + type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7631838532712089505, guid: 0963942396a615f4fb1b390436e881b8, + type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7631838532712089505, guid: 0963942396a615f4fb1b390436e881b8, + type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7879899076693153277, guid: 0963942396a615f4fb1b390436e881b8, + type: 3} + propertyPath: m_ButtonTexture + value: + objectReference: {fileID: 2800000, guid: b5202bf37456a1d4787bd665393dd7b2, type: 3} + - target: {fileID: 7879899076693153277, guid: 0963942396a615f4fb1b390436e881b8, + type: 3} + propertyPath: m_DescriptionText + value: PANEL_REFERENCE_BUTTON_VIDEO_REWIND_DESCRIPTION + objectReference: {fileID: 0} + - target: {fileID: 7879899076693153277, guid: 0963942396a615f4fb1b390436e881b8, + type: 3} + propertyPath: m_Action.m_PersistentCalls.m_Calls.Array.size + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 7879899076693153277, guid: 0963942396a615f4fb1b390436e881b8, + type: 3} + propertyPath: m_LocalizedDescription.m_TableEntryReference.m_KeyId + value: 89074692188299264 + objectReference: {fileID: 0} + - target: {fileID: 7879899076693153277, guid: 0963942396a615f4fb1b390436e881b8, + type: 3} + propertyPath: m_Action.m_PersistentCalls.m_Calls.Array.data[0].m_Mode + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 7879899076693153277, guid: 0963942396a615f4fb1b390436e881b8, + type: 3} + propertyPath: m_Action.m_PersistentCalls.m_Calls.Array.data[0].m_Target + value: + objectReference: {fileID: 8553841389093772640} + - target: {fileID: 7879899076693153277, guid: 0963942396a615f4fb1b390436e881b8, + type: 3} + propertyPath: m_Action.m_PersistentCalls.m_Calls.Array.data[0].m_CallState + value: 2 + objectReference: {fileID: 0} + - target: {fileID: 7879899076693153277, guid: 0963942396a615f4fb1b390436e881b8, + type: 3} + propertyPath: m_Action.m_PersistentCalls.m_Calls.Array.data[0].m_MethodName + value: SkipBack + objectReference: {fileID: 0} + - target: {fileID: 7879899076693153277, guid: 0963942396a615f4fb1b390436e881b8, + type: 3} + propertyPath: m_LocalizedDescription.m_TableReference.m_TableCollectionName + value: GUID:c84355079ab3f3e4f8f3812258805f86 + objectReference: {fileID: 0} + - target: {fileID: 7879899076693153277, guid: 0963942396a615f4fb1b390436e881b8, + type: 3} + propertyPath: m_Action.m_PersistentCalls.m_Calls.Array.data[0].m_Arguments.m_ObjectArgumentAssemblyTypeName + value: UnityEngine.Object, UnityEngine + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 0963942396a615f4fb1b390436e881b8, type: 3} +--- !u!4 &1819353976050480489 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 7631838532712089505, guid: 0963942396a615f4fb1b390436e881b8, + type: 3} + m_PrefabInstance: {fileID: 8130713083394896584} + m_PrefabAsset: {fileID: 0} +--- !u!1001 &8518427859583357457 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 3891058746504678318} + m_Modifications: + - target: {fileID: 4887032089606793249, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_Name + value: ReferencePanelIcon8 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_RootOrder + value: 7 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalPosition.x + value: 0.208 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalPosition.y + value: -0.41820002 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalPosition.z + value: 0.05 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4887032089606793249, guid: bf78ede73a1b5654cb9943c8944692b4, + type: 3} + propertyPath: m_Name + value: ReferencePanelIcon8 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: bf78ede73a1b5654cb9943c8944692b4, + type: 3} + propertyPath: m_RootOrder + value: 7 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: bf78ede73a1b5654cb9943c8944692b4, + type: 3} + propertyPath: m_LocalPosition.x + value: 0.208 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: bf78ede73a1b5654cb9943c8944692b4, + type: 3} + propertyPath: m_LocalPosition.y + value: -0.4182 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: bf78ede73a1b5654cb9943c8944692b4, type: 3} +--- !u!4 &3883704641979357644 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 4887032089607064541, guid: bf78ede73a1b5654cb9943c8944692b4, + type: 3} + m_PrefabInstance: {fileID: 8518427859583357457} + m_PrefabAsset: {fileID: 0} +--- !u!1001 &9082018732258119354 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 3891058746504678318} + m_Modifications: + - target: {fileID: 4887032089606793249, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_Name + value: ReferencePanelIcon1 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_RootOrder + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalPosition.x + value: -0.216 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalPosition.y + value: 0.4159999 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalPosition.z + value: 0.05 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: 61e80cd30bd5b334d846d9baaa0ef627, + type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4887032089606793249, guid: bf78ede73a1b5654cb9943c8944692b4, + type: 3} + propertyPath: m_Name + value: ReferencePanelIcon6 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: bf78ede73a1b5654cb9943c8944692b4, + type: 3} + propertyPath: m_RootOrder + value: 5 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: bf78ede73a1b5654cb9943c8944692b4, + type: 3} + propertyPath: m_LocalPosition.x + value: 0.623 + objectReference: {fileID: 0} + - target: {fileID: 4887032089607064541, guid: bf78ede73a1b5654cb9943c8944692b4, + type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: bf78ede73a1b5654cb9943c8944692b4, type: 3} +--- !u!4 &4457426881587086695 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 4887032089607064541, guid: bf78ede73a1b5654cb9943c8944692b4, + type: 3} + m_PrefabInstance: {fileID: 9082018732258119354} + m_PrefabAsset: {fileID: 0} diff --git a/Assets/Prefabs/Panels/ReferencePanel/ReferencePanelTabSoundClip.prefab.meta b/Assets/Prefabs/Panels/ReferencePanel/ReferencePanelTabSoundClip.prefab.meta new file mode 100644 index 0000000000..d9339b6bc1 --- /dev/null +++ b/Assets/Prefabs/Panels/ReferencePanel/ReferencePanelTabSoundClip.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: bc59f933f07268642a3319d424409949 +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Prefabs/SoundClipWidget.prefab b/Assets/Prefabs/SoundClipWidget.prefab new file mode 100644 index 0000000000..4cd8e5cd36 --- /dev/null +++ b/Assets/Prefabs/SoundClipWidget.prefab @@ -0,0 +1,732 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1 &104792 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 413480} + - component: {fileID: 854942063617328480} + - component: {fileID: 6714732647065839654} + - component: {fileID: 795361251760961125} + m_Layer: 0 + m_Name: SoundClipWidget + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &413480 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 104792} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 2.146, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 453640} + - {fileID: 412772} + - {fileID: 435884} + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &854942063617328480 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 104792} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 83702bf1a42755143b9cd9cfe4e1c7c3, type: 3} + m_Name: + m_EditorClassIdentifier: + m_ShowDuration: 0.2 + m_GrabDistance: 1 + m_CollisionRadius: 1.2 + m_AllowTwoHandGrab: 1 + m_DestroyOnHide: 0 + m_AllowHideWithToss: 1 + m_DisableDrift: 0 + m_RecordMovements: 1 + m_AllowSnapping: 1 + m_SnapDisabledDelay: 0.2 + m_AllowPinning: 1 + m_AllowDormancy: 1 + m_TossDuration: 0.25 + m_TintableMeshes: [] + m_SpawnPlacementOffset: {x: 0, y: 0, z: 0} + m_IntroAnimSpinAmount: 360 + m_BoxCollider: {fileID: 8388007688737886911} + m_Mesh: {fileID: 453640} + m_HighlightMeshXfs: + - {fileID: 466610} + m_ValidSnapRotationStickyAngle: 65 + m_SnapGhostMaterial: {fileID: 2100000, guid: 43172d360a2f0f44798d94e9c440e24b, type: 2} + m_SelectionIndicatorRenderer: {fileID: 0} + m_ContainerBloat: {x: 0.1, y: 0.1, z: 0.4} + m_UngrabbableFromInside: 0 + m_MinSize_CS: 0.05 + m_MaxSize_CS: 2000 + m_NoImageTexture: {fileID: 2800000, guid: 57ec9586d21ff9142abf94cca6f69ef3, type: 3} + m_StartScale: 0.1 + m_ColliderBloat: 0 + m_MeshScalar: 1 + m_Background: {fileID: 466610} + m_Missing: {fileID: 435884} + m_MissingText: {fileID: 10267632} + m_MissingQuestionMark: {fileID: 149674} + m_QuestionMarkScalar: 1.5 + m_MinTextSize: 0.6 + m_TiltMeterCost: 1 + m_ImageQuad: {fileID: 2357204} +--- !u!114 &6714732647065839654 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 104792} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 6dbca64e524ea44f9b26142ec59aca8a, type: 3} + m_Name: + m_EditorClassIdentifier: + bypassRoomEffects: 0 + directivityAlpha: 0 + directivitySharpness: 1 + listenerDirectivityAlpha: 0.125 + listenerDirectivitySharpness: 1 + gainDb: 3 + occlusionEnabled: 0 + playOnAwake: 1 + disableOnStop: 0 + sourceClip: {fileID: 0} + sourceLoop: 1 + sourceMute: 0 + sourcePitch: 1 + sourcePriority: 128 + sourceSpatialBlend: 1 + sourceDopplerLevel: 0 + sourceSpread: 0 + sourceVolume: 1 + sourceRolloffMode: 0 + sourceMaxDistance: 15 + sourceMinDistance: 0.75 + hrtfEnabled: 1 + audioSource: {fileID: 795361251760961125} +--- !u!82 &795361251760961125 +AudioSource: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 104792} + 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: 1 + 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!1 &105650 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 453640} + - component: {fileID: 3304526} + - component: {fileID: 2357204} + m_Layer: 0 + m_Name: Icon + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &453640 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 105650} + 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: + - {fileID: 466610} + m_Father: {fileID: 413480} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!33 &3304526 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 105650} + m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0} +--- !u!23 &2357204 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 105650} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 0 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + m_RayTraceProcedural: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: d8b1abdfad766cd448e1ea238af5f38d, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 1 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_AdditionalVertexStreams: {fileID: 0} +--- !u!1 &108072 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 473572} + - component: {fileID: 3309956} + - component: {fileID: 2359870} + m_Layer: 0 + m_Name: SelectionIndicator + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 0 +--- !u!4 &473572 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 108072} + 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: 0.3} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 412772} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!33 &3309956 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 108072} + m_Mesh: {fileID: 4300000, guid: 1fffb18ea3c95344a8ea624958a8319b, type: 3} +--- !u!23 &2359870 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 108072} + m_Enabled: 0 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + m_RayTraceProcedural: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: 32562375f01c8c845a494d700c4ef48d, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 1 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_AdditionalVertexStreams: {fileID: 0} +--- !u!1 &108750 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 412772} + - component: {fileID: 8388007688737886911} + m_Layer: 0 + m_Name: Container + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &412772 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 108750} + 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: + - {fileID: 473572} + m_Father: {fileID: 413480} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!65 &8388007688737886911 +BoxCollider: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 108750} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!1 &114356 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 435884} + m_Layer: 18 + m_Name: Missing + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &435884 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 114356} + 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: + - {fileID: 433034} + - {fileID: 478790} + m_Father: {fileID: 413480} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &135062 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 466610} + - component: {fileID: 3313898} + - component: {fileID: 3517710860365856019} + m_Layer: 0 + m_Name: Sphere Mesh + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &466610 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 135062} + m_LocalRotation: {x: 0.7071068, y: 0, z: 0, w: 0.7071068} + m_LocalPosition: {x: 0, y: 0, z: 0.005} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 453640} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 90, y: 0, z: 0} +--- !u!33 &3313898 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 135062} + m_Mesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0} +--- !u!23 &3517710860365856019 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 135062} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + m_RayTraceProcedural: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: cfec9a52c09c8764b8001091ee61042a, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_AdditionalVertexStreams: {fileID: 0} +--- !u!1 &149674 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 478790} + - component: {fileID: 3322804} + - component: {fileID: 2375594} + m_Layer: 18 + m_Name: QuestionMark + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 0 +--- !u!4 &478790 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 149674} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: -0.011} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 435884} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!33 &3322804 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 149674} + m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0} +--- !u!23 &2375594 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 149674} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + m_RayTraceProcedural: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: fcfcb94554ebd814aa6f067fe1cba536, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_AdditionalVertexStreams: {fileID: 0} +--- !u!1 &173606 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 433034} + - component: {fileID: 2352122} + - component: {fileID: 10267632} + m_Layer: 18 + m_Name: Text + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 0 +--- !u!4 &433034 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 173606} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: -0.011} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 435884} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!23 &2352122 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 173606} + m_Enabled: 0 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + m_RayTraceProcedural: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 10100, guid: 0000000000000000e000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_AdditionalVertexStreams: {fileID: 0} +--- !u!102 &10267632 +TextMesh: + serializedVersion: 3 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 173606} + m_Text: 'Missing Image: + + file.png' + m_OffsetZ: 0 + m_CharacterSize: 0.05 + m_LineSpacing: 1 + m_Anchor: 4 + m_Alignment: 1 + m_TabSize: 4 + m_FontSize: 20 + m_FontStyle: 0 + m_RichText: 1 + m_Font: {fileID: 0} + m_Color: + serializedVersion: 2 + rgba: 4294967295 diff --git a/Assets/Prefabs/SoundClipWidget.prefab.meta b/Assets/Prefabs/SoundClipWidget.prefab.meta new file mode 100644 index 0000000000..317dbcd11e --- /dev/null +++ b/Assets/Prefabs/SoundClipWidget.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: eb0cb4b31c139874e8f348d6682dec69 +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Resources/DefaultSoundClips.meta b/Assets/Resources/DefaultSoundClips.meta new file mode 100644 index 0000000000..6d357e4bd9 --- /dev/null +++ b/Assets/Resources/DefaultSoundClips.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: d636017cb5b7d174395a4cdd952d07fa +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Resources/DefaultSoundClips/underwater.wav.bytes b/Assets/Resources/DefaultSoundClips/underwater.wav.bytes new file mode 100644 index 0000000000..a1b39831ea Binary files /dev/null and b/Assets/Resources/DefaultSoundClips/underwater.wav.bytes differ diff --git a/Assets/Resources/DefaultSoundClips/underwater.wav.bytes.meta b/Assets/Resources/DefaultSoundClips/underwater.wav.bytes.meta new file mode 100644 index 0000000000..5992a71f31 --- /dev/null +++ b/Assets/Resources/DefaultSoundClips/underwater.wav.bytes.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 643f219214e12f349bd31c84562978bf +TextScriptImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Resources/Icons/brushaudio.png.meta b/Assets/Resources/Icons/brushaudio.png.meta index b59bf649a0..6ece0ab680 100644 --- a/Assets/Resources/Icons/brushaudio.png.meta +++ b/Assets/Resources/Icons/brushaudio.png.meta @@ -1,9 +1,9 @@ fileFormatVersion: 2 guid: be5ae98f7ff9b5c48aab7018e4c1084c TextureImporter: - fileIDToRecycleName: {} + internalIDToNameTable: [] externalObjects: {} - serializedVersion: 9 + serializedVersion: 12 mipmaps: mipMapMode: 0 enableMipMap: 1 @@ -23,6 +23,8 @@ TextureImporter: isReadable: 1 streamingMipmaps: 0 streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMasterTextureLimit: 0 grayScaleToAlpha: 0 generateCubemap: 6 cubemapConvolution: 0 @@ -31,12 +33,12 @@ TextureImporter: maxTextureSize: 2048 textureSettings: serializedVersion: 2 - filterMode: -1 - aniso: -1 - mipBias: -100 - wrapU: -1 - wrapV: -1 - wrapW: -1 + filterMode: 1 + aniso: 1 + mipBias: 0 + wrapU: 0 + wrapV: 0 + wrapW: 0 nPOTScale: 1 lightmap: 0 compressionQuality: 50 @@ -54,11 +56,16 @@ TextureImporter: textureType: 0 textureShape: 1 singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 maxTextureSizeSet: 0 compressionQualitySet: 0 textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 1 + cookieLightType: 1 platformSettings: - - serializedVersion: 2 + - serializedVersion: 3 buildTarget: DefaultTexturePlatform maxTextureSize: 128 resizeAlgorithm: 0 @@ -69,7 +76,8 @@ TextureImporter: allowsAlphaSplitting: 0 overridden: 0 androidETC2FallbackOverride: 0 - - serializedVersion: 2 + forceMaximumCompressionQuality_BC6H_BC7: 1 + - serializedVersion: 3 buildTarget: Standalone maxTextureSize: 128 resizeAlgorithm: 0 @@ -80,7 +88,8 @@ TextureImporter: allowsAlphaSplitting: 0 overridden: 0 androidETC2FallbackOverride: 0 - - serializedVersion: 2 + forceMaximumCompressionQuality_BC6H_BC7: 1 + - serializedVersion: 3 buildTarget: Android maxTextureSize: 128 resizeAlgorithm: 0 @@ -91,6 +100,31 @@ TextureImporter: allowsAlphaSplitting: 0 overridden: 0 androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 1 + - serializedVersion: 3 + buildTarget: iPhone + maxTextureSize: 128 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 1 + - serializedVersion: 3 + buildTarget: Server + maxTextureSize: 128 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 1 spriteSheet: serializedVersion: 2 sprites: [] @@ -98,10 +132,13 @@ TextureImporter: physicsShape: [] bones: [] spriteID: + internalID: 0 vertices: [] indices: edges: [] weights: [] + secondaryTextures: [] + nameFileIdTable: {} spritePackingTag: pSDRemoveMatte: 0 pSDShowRemoveMatteOption: 0 diff --git a/Assets/Resources/Icons/soundclip.png b/Assets/Resources/Icons/soundclip.png new file mode 100644 index 0000000000..95d3fb19a9 Binary files /dev/null and b/Assets/Resources/Icons/soundclip.png differ diff --git a/Assets/Resources/Icons/soundclip.png.meta b/Assets/Resources/Icons/soundclip.png.meta new file mode 100644 index 0000000000..7b87551d63 --- /dev/null +++ b/Assets/Resources/Icons/soundclip.png.meta @@ -0,0 +1,147 @@ +fileFormatVersion: 2 +guid: 32c1b6205fdb5af4996e2a51c4df9eb7 +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 12 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 1 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMasterTextureLimit: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: -1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 1 + mipBias: 0 + wrapU: 1 + wrapV: 1 + wrapW: 1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 1 + cookieLightType: 1 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 128 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Standalone + maxTextureSize: 128 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Android + maxTextureSize: 128 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: iPhone + maxTextureSize: 128 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Server + maxTextureSize: 128 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + nameFileIdTable: {} + spritePackingTag: + pSDRemoveMatte: 0 + pSDShowRemoveMatteOption: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scenes/Main.unity b/Assets/Scenes/Main.unity index 54e73264c9..0fbd123ed0 100644 --- a/Assets/Scenes/Main.unity +++ b/Assets/Scenes/Main.unity @@ -8203,13 +8203,11 @@ MonoBehaviour: Quality Level: ~~ - # - FPS High: ~~~~ (> ~~) + # FPS High: ~~~~ (> ~~) # GPU Low: ~~~~ (< ~~.~~) - # FPS Low: ~~~~ (< - ~~) + # FPS Low: ~~~~ (< ~~) # GPU High: ~~~~ (> ~~.~~) @@ -10173,6 +10171,7 @@ GameObject: - component: {fileID: 652605572} - component: {fileID: 652605564} - component: {fileID: 652605570} + - component: {fileID: 652605574} m_Layer: 0 m_Name: App m_TagString: Untagged @@ -10985,6 +10984,25 @@ MonoBehaviour: - DefaultBackgroundImages/panorama.jpg - DefaultBackgroundImages/stereopanorama.jpg - DefaultBackgroundImages/ATTRIBUTION.txt +--- !u!114 &652605574 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 652605543} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4dca52281a4840acb41e0cb27ab4671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_DefaultSoundClips: + - DefaultSoundClips/underwater.wav + m_DebugOutput: 0 + m_supportedSoundClipExtensions: + - .wav + - .ogg + - .mp3 --- !u!4 &669339392 stripped Transform: m_CorrespondingSourceObject: {fileID: 4492044767078796625, guid: 382dabebd59956d499aefb54b02f804d, @@ -30130,8 +30148,7 @@ MonoBehaviour: m_QuestSideLoadingHowToURL: https://docs.openbrush.app/user-guide/using-reference-images-on-oculus-quest m_ContributionPromoText: 'Open Brush is a free app entirely run by volunteers. - If - you enjoy the app, please consider donating in the settings menu!' + If you enjoy the app, please consider donating in the settings menu!' m_ContributionURL: https://opencollective.com/icosa m_WorldTransformMinScale: 0.1 m_WorldTransformMaxScale: 10 @@ -30571,6 +30588,8 @@ MonoBehaviour: type: 3} m_SceneLightGizmoPrefab: {fileID: 1712584378369130260, guid: f28bfd6efbf3cb046be485c6573ca207, type: 3} + m_SoundClipWidgetPrefab: {fileID: 854942063617328480, guid: eb0cb4b31c139874e8f348d6682dec69, + type: 3} m_CameraPathWidgetPrefab: {fileID: 114268259032398848, guid: a933b2a19614a6c4da08a0143f0ec912, type: 3} m_CameraPathPositionKnotPrefab: {fileID: 1334758335721002, guid: 38b506951b7a81e4e9a6c65a9a20efa9, diff --git a/Assets/Scripts/API/ApiMethods.Utils.cs b/Assets/Scripts/API/ApiMethods.Utils.cs index 99f0d1784b..e102f9d5d3 100644 --- a/Assets/Scripts/API/ApiMethods.Utils.cs +++ b/Assets/Scripts/API/ApiMethods.Utils.cs @@ -143,6 +143,12 @@ private static VideoWidget _GetActiveVideo(int index) return WidgetManager.m_Instance.ActiveVideoWidgets[index].WidgetScript; } + private static SoundClipWidget _GetActiveSoundClip(int index) + { + index = _NegativeIndexing(index, WidgetManager.m_Instance.ActiveSoundClipWidgets); + return WidgetManager.m_Instance.ActiveSoundClipWidgets[index].WidgetScript; + } + private static ModelWidget _GetActiveModel(int index) { index = _NegativeIndexing(index, WidgetManager.m_Instance.ActiveModelWidgets); diff --git a/Assets/Scripts/App.cs b/Assets/Scripts/App.cs index 74eb7f7381..46d87b9723 100644 --- a/Assets/Scripts/App.cs +++ b/Assets/Scripts/App.cs @@ -2115,6 +2115,26 @@ public static bool InitVideoLibraryPath(string[] defaultVideos) return true; } + public static bool InitSoundClipLibraryPath(string[] defaultSoundClips) + { + string soundClipsDirectory = SoundClipLibraryPath(); + if (Directory.Exists(soundClipsDirectory)) + { + return true; + } + if (!InitDirectoryAtPath(soundClipsDirectory)) + { + return false; + } + foreach (var soundClip in defaultSoundClips) + { + string destFilename = Path.GetFileName(soundClip); + FileUtils.WriteBytesFromResources(soundClip, Path.Combine(soundClipsDirectory, destFilename)); + } + + return true; + } + public static string FeaturedSketchesPath() { return Path.Combine(Application.persistentDataPath, "Featured Sketches"); @@ -2140,6 +2160,11 @@ public static string VideoLibraryPath() return Path.Combine(MediaLibraryPath(), "Videos"); } + public static string SoundClipLibraryPath() + { + return Path.Combine(MediaLibraryPath(), "Sound Clips"); + } + public static string BackgroundImagesLibraryPath() { return Path.Combine(MediaLibraryPath(), "BackgroundImages"); diff --git a/Assets/Scripts/Commands/CreateWidgetCommand.cs b/Assets/Scripts/Commands/CreateWidgetCommand.cs index aaefa81720..fdd829f23f 100644 --- a/Assets/Scripts/Commands/CreateWidgetCommand.cs +++ b/Assets/Scripts/Commands/CreateWidgetCommand.cs @@ -101,6 +101,7 @@ protected override void OnRedo() case LightWidget: case ImageWidget: case VideoWidget: + case SoundClipWidget: m_Widget.transform.parent = m_Canvas.transform; m_Widget.Show(true); break; diff --git a/Assets/Scripts/GUI/ReferenceButton.cs b/Assets/Scripts/GUI/ReferenceButton.cs index 77a9b463ce..1a807e7c1a 100644 --- a/Assets/Scripts/GUI/ReferenceButton.cs +++ b/Assets/Scripts/GUI/ReferenceButton.cs @@ -23,7 +23,8 @@ public enum Type Models, AddAssets, Videos, - BackgroundImages + BackgroundImages, + SoundClips } public Type m_ButtonType; diff --git a/Assets/Scripts/GUI/ReferencePanel.cs b/Assets/Scripts/GUI/ReferencePanel.cs index 7d8abc1ee0..a9bb783a90 100644 --- a/Assets/Scripts/GUI/ReferencePanel.cs +++ b/Assets/Scripts/GUI/ReferencePanel.cs @@ -225,7 +225,8 @@ protected override void RefreshPage() ReferenceButton.Type.Images => ReferenceImageCatalog.m_Instance.CurrentImagesDirectory, ReferenceButton.Type.BackgroundImages => BackgroundImageCatalog.m_Instance.CurrentBackgroundImagesDirectory, ReferenceButton.Type.Models => ModelCatalog.m_Instance.CurrentModelsDirectory, - ReferenceButton.Type.Videos => VideoCatalog.Instance.CurrentVideoDirectory + ReferenceButton.Type.Videos => VideoCatalog.Instance.CurrentVideoDirectory, + ReferenceButton.Type.SoundClips => SoundClipCatalog.Instance.CurrentSoundClipDirectory }; var truncatedPath = currentDir.Substring(App.MediaLibraryPath().Length); diff --git a/Assets/Scripts/GUI/SoundClipPositionSlider.cs b/Assets/Scripts/GUI/SoundClipPositionSlider.cs new file mode 100644 index 0000000000..0f27070c40 --- /dev/null +++ b/Assets/Scripts/GUI/SoundClipPositionSlider.cs @@ -0,0 +1,51 @@ +// Copyright 2020 The Tilt Brush Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace TiltBrush +{ + public class SoundClipPositionSlider : BaseSlider + { + + private SoundClipWidget m_SoundClipWidget; + + public SoundClipWidget SoundClipWidget + { + get { return m_SoundClipWidget; } + set { m_SoundClipWidget = value; } + } + + public override void UpdateValue(float value) + { + if (m_SoundClipWidget == null || m_SoundClipWidget.SoundClipController == null) + { + return; + } + m_SoundClipWidget.SoundClipController.Position = value; + } + + protected virtual void Update() + { + m_IsAvailable = m_SoundClipWidget != null && m_SoundClipWidget.SoundClipController != null; + if (m_IsAvailable) + { + m_CurrentValue = m_SoundClipWidget.SoundClipController.Position; + } + else + { + m_CurrentValue = 0; + } + SetSliderPositionToReflectValue(); + } + } +} // namespace TiltBrush diff --git a/Assets/Scripts/GUI/SoundClipPositionSlider.cs.meta b/Assets/Scripts/GUI/SoundClipPositionSlider.cs.meta new file mode 100644 index 0000000000..36cb3a1f40 --- /dev/null +++ b/Assets/Scripts/GUI/SoundClipPositionSlider.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 4e4806aced191314da8c00dae0231e5f +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/ReferencePanelSoundClipTab.cs b/Assets/Scripts/ReferencePanelSoundClipTab.cs new file mode 100644 index 0000000000..f036f182f9 --- /dev/null +++ b/Assets/Scripts/ReferencePanelSoundClipTab.cs @@ -0,0 +1,295 @@ +// Copyright 2020 The Tilt Brush Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using System; +using UnityEngine; +using UnityEngine.Serialization; + +namespace TiltBrush +{ + public class ReferencePanelSoundClipTab : ReferencePanelTab + { + + // Subclass used to display a SoundClip button within the reference tab. + public class AudioIcon : ReferenceIcon + { + public ReferencePanel Parent { get; set; } + public bool TextureAssigned { get; set; } + + public SoundClipButton SoundClipButton + { + get { return Button as SoundClipButton; } + } + + public override void Refresh(int catalogIndex) + { + Button.SetButtonTexture(Parent.UnknownImageTexture, 1); + + var soundClip = SoundClipCatalog.Instance.GetSoundClipAtIndex(catalogIndex); + SoundClipButton.SoundClip = soundClip; + SoundClipButton.RefreshDescription(); + + // init the icon according to availability of sound clip + if (soundClip != null) + { + Button.gameObject.SetActive(true); + TextureAssigned = false; + } + else + { + Button.gameObject.SetActive(false); + TextureAssigned = true; + } + } + } + + [SerializeField] private GameObject m_SoundClipControls; + [SerializeField] private BoxCollider m_SoundClipControlsCollider; + [SerializeField] private GameObject m_Preview; + [SerializeField] private SoundClipPositionSlider m_Scrubber; + [SerializeField] private float m_SoundClipSkipTime = 10f; + [SerializeField] private Texture2D m_ErrorTexture; + [SerializeField] private Texture2D m_LoadingTexture; + + private bool m_AllIconTexturesAssigned; + private SoundClipWidget m_SelectedSoundClipWidget; + private Material m_PreviewMaterial; + private bool m_TabActive; + + [System.Reflection.Obfuscation(Exclude = true)] + public bool SelectedSoundClipIsPlaying + { + get + { + return (SelectedSoundClip != null) + ? SelectedSoundClip.Playing + : false; + } + set + { + if (SelectedSoundClip != null) + { + SelectedSoundClip.Playing = !SelectedSoundClip.Playing; + } + } + } + + [System.Reflection.Obfuscation(Exclude = true)] + public float SelectedSoundClipVolume + { + get + { + return (SelectedSoundClip != null) + ? SelectedSoundClip.Volume + : 0f; + } + set + { + if (SelectedSoundClip != null) + { + SelectedSoundClip.Volume = value; + } + } + } + + public override IReferenceItemCatalog Catalog + { + get { return SoundClipCatalog.Instance; } + } + public override ReferenceButton.Type ReferenceButtonType + { + get { return ReferenceButton.Type.SoundClips; } + } + protected override Type ButtonType + { + get { return typeof(SoundClipButton); } + } + protected override Type IconType + { + get { return typeof(AudioIcon); } + } + + protected SoundClip.SoundClipController SelectedSoundClip + { + get + { + return m_SelectedSoundClipWidget != null ? m_SelectedSoundClipWidget.SoundClipController : null; + } + } + + void RefreshSoundClipControlsVisibility() + { + if (m_SoundClipControls != null) + { + bool widgetActive = WidgetManager.m_Instance != null && + WidgetManager.m_Instance.AnySoundClipWidgetActive; + m_SoundClipControls.SetActive(m_TabActive && widgetActive); + } + } + + public override void OnTabEnable() + { + m_TabActive = true; + RefreshSoundClipControlsVisibility(); + } + + public override void OnTabDisable() + { + m_TabActive = false; + RefreshSoundClipControlsVisibility(); + } + + public override void RefreshTab(bool selected) + { + base.RefreshTab(selected); + if (selected) + { + m_AllIconTexturesAssigned = false; + } + m_TabActive = selected; + RefreshSoundClipControlsVisibility(); + } + + public override void InitTab() + { + base.InitTab(); + foreach (var icon in m_Icons) + { + (icon as AudioIcon).Parent = GetComponentInParent(); + } + OnTabDisable(); + App.Switchboard.SoundClipWidgetActivated += OnSoundClipWidgetActivated; + m_PreviewMaterial = m_Preview.GetComponent().material; + m_PreviewMaterial.mainTexture = Texture2D.blackTexture; + } + + public void OnSoundClipWidgetActivated(SoundClipWidget widget) + { + m_SelectedSoundClipWidget = widget; + if (widget.SoundClipController != null) + { + m_PreviewMaterial.mainTexture = widget.SoundClip.Thumbnail; + } + m_Preview.transform.localScale = new Vector3(widget.SoundClip.Aspect, 1f, 1f); + m_Scrubber.SoundClipWidget = widget; + RefreshSoundClipControlsVisibility(); + } + + public override void UpdateTab() + { + base.UpdateTab(); + if (!m_AllIconTexturesAssigned) + { + m_AllIconTexturesAssigned = true; + + //poll sketch catalog until icons have loaded + for (int i = 0; i < m_Icons.Length; ++i) + { + var imageIcon = m_Icons[i] as AudioIcon; + if (!imageIcon.TextureAssigned && imageIcon.Button.gameObject.activeSelf) + { + int catalogIndex = m_IndexOffset + i; + + var soundClip = SoundClipCatalog.Instance.GetSoundClipAtIndex(catalogIndex); + if (soundClip != null) + { + if (!string.IsNullOrEmpty(soundClip.Error)) + { + imageIcon.Button.SetButtonTexture(m_ErrorTexture, + m_ErrorTexture.width / m_ErrorTexture.height); + imageIcon.TextureAssigned = true; + imageIcon.SoundClipButton.SetDescriptionText(soundClip.HumanName, "Could not load sound clip."); + imageIcon.SoundClipButton.SetButtonAvailable(false); + } + else if (soundClip.IsInitialized) + { + imageIcon.Button.SetButtonTexture(soundClip.Thumbnail, soundClip.Aspect); + imageIcon.TextureAssigned = true; + } + else + { + imageIcon.Button.SetButtonTexture(m_LoadingTexture, + m_LoadingTexture.width / m_LoadingTexture.height); + imageIcon.TextureAssigned = true; + } + } + else + { + m_AllIconTexturesAssigned = false; + } + } + } + } + } + + public override void OnUpdateGazeBehavior(Color panelColor, bool gazeActive, bool available) + { + base.OnUpdateGazeBehavior(panelColor, gazeActive, available); + bool? buttonsGrayscale = null; + if (!gazeActive) + { + buttonsGrayscale = true; + } + else if (available) + { + buttonsGrayscale = false; + } + else + { + // Don't mess with grayscale-ness + } + + if (buttonsGrayscale != null) + { + foreach (var icon in m_Icons) + { + icon.Button.SetButtonGrayscale(buttonsGrayscale.Value); + } + } + } + + public override bool RaycastAgainstMeshCollider(Ray ray, out RaycastHit hitInfo, float dist) + { + if (base.RaycastAgainstMeshCollider(ray, out hitInfo, dist)) + { + return true; + } + if (m_SoundClipControlsCollider == null) + { + return false; + } + return m_SoundClipControlsCollider.Raycast(ray, out hitInfo, dist); + } + + [System.Reflection.Obfuscation(Exclude = true)] + public void SkipBack() + { + if (SelectedSoundClip == null) + { + return; + } + SelectedSoundClip.Time = Mathf.Clamp(SelectedSoundClip.Time - m_SoundClipSkipTime, 0, SelectedSoundClip.Length); + } + + [System.Reflection.Obfuscation(Exclude = true)] + public void SkipForward() + { + if (SelectedSoundClip == null) + { + return; + } + SelectedSoundClip.Time = Mathf.Clamp(SelectedSoundClip.Time + m_SoundClipSkipTime, 0, SelectedSoundClip.Length); + } + } +} // namespace TiltBrush diff --git a/Assets/Scripts/ReferencePanelSoundClipTab.cs.meta b/Assets/Scripts/ReferencePanelSoundClipTab.cs.meta new file mode 100644 index 0000000000..646970bbc2 --- /dev/null +++ b/Assets/Scripts/ReferencePanelSoundClipTab.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: dcee1b430b77a424cb40c11cdf48c840 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Save/MetadataUtils.cs b/Assets/Scripts/Save/MetadataUtils.cs index cbd034561d..97a6a5e097 100644 --- a/Assets/Scripts/Save/MetadataUtils.cs +++ b/Assets/Scripts/Save/MetadataUtils.cs @@ -146,6 +146,28 @@ public static TiltModels75[] GetTiltModels(GroupIdMapping groupIdMapping) .OrderBy(ByModelLocation).ToArray(); } + public static TiltSoundClip[] GetTiltSoundClip(GroupIdMapping groupIdMapping) + { + return WidgetManager.m_Instance.SoundClipWidgets.Where(x => x.gameObject.activeSelf).Select(x => ConvertSoundClipWidgetToTiltSoundClip(x)).ToArray(); + + TiltSoundClip ConvertSoundClipWidgetToTiltSoundClip(SoundClipWidget widget) + { + TiltSoundClip soundClip = new TiltSoundClip + { + FilePath = widget.SoundClip.PersistentPath, + AspectRatio = widget.SoundClip.Aspect, + Pinned = widget.Pinned, + Transform = widget.LocalTransform, + GroupId = groupIdMapping.GetId(widget.Group), + LayerId = App.Scene.GetIndexOfCanvas(widget.Canvas), + Paused = !widget.SoundClipController.Playing, + Time = widget.SoundClipController.Time, + Volume = widget.SoundClipController.Volume + }; + return soundClip; + } + } + public static TiltVideo[] GetTiltVideos(GroupIdMapping groupIdMapping) { return WidgetManager.m_Instance.VideoWidgets.Where(x => x.gameObject.activeSelf).Select(x => ConvertVideoToTiltVideo(x)).ToArray(); diff --git a/Assets/Scripts/Save/SaveLoadScript.cs b/Assets/Scripts/Save/SaveLoadScript.cs index 9b490d66d5..39a18be8d2 100644 --- a/Assets/Scripts/Save/SaveLoadScript.cs +++ b/Assets/Scripts/Save/SaveLoadScript.cs @@ -773,6 +773,10 @@ public bool Load(SceneFileInfo fileInfo, bool bAdditive = false) { WidgetManager.m_Instance.SetDataFromTilt(jsonData.Videos); } + if (SoundClipCatalog.Instance != null && jsonData.SoundClips != null) + { + WidgetManager.m_Instance.SetDataFromTilt(jsonData.SoundClips); + } } if (jsonData.Mirror != null) { diff --git a/Assets/Scripts/Save/SketchMetadata.cs b/Assets/Scripts/Save/SketchMetadata.cs index b20cfe80c3..536152d8c8 100644 --- a/Assets/Scripts/Save/SketchMetadata.cs +++ b/Assets/Scripts/Save/SketchMetadata.cs @@ -694,6 +694,21 @@ public class TiltVideo public bool TwoSided { get; set; } } + [Serializable] + public class TiltSoundClip + { + public string FilePath { get; set; } // relative to Media Library folder + public float AspectRatio { get; set; } + public bool Pinned; + public TrTransform Transform; + public bool Paused { get; set; } + public float Time { get; set; } + public float Volume { get; set; } + // Group ID for widget. 0 for ungrouped items. + public uint GroupId { get; set; } + public int LayerId { get; set; } + } + [Serializable] // Serializable protects data members obfuscator, but we need to also protect // method names like ShouldSerializeXxx(...) that are used by Json.NET @@ -816,5 +831,8 @@ public TiltImages75b[] Images public string ApplicationName { get; set; } [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] public string ApplicationVersion { get; set; } + + [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] + public TiltSoundClip[] SoundClips { get; set; } } } // namespace TiltBrush diff --git a/Assets/Scripts/Save/SketchSnapshot.cs b/Assets/Scripts/Save/SketchSnapshot.cs index af4e44e35c..10afb5d1b9 100644 --- a/Assets/Scripts/Save/SketchSnapshot.cs +++ b/Assets/Scripts/Save/SketchSnapshot.cs @@ -131,6 +131,7 @@ public SketchMetadata GetSketchMetadata() LightIndex = MetadataUtils.GetTiltLights(m_GroupIdMapping), ImageIndex = MetadataUtils.GetTiltImages(m_GroupIdMapping), Videos = MetadataUtils.GetTiltVideos(m_GroupIdMapping), + SoundClips = MetadataUtils.GetTiltSoundClip(m_GroupIdMapping), Mirror = PointerManager.m_Instance.SymmetryWidgetToMirror(), GuideIndex = MetadataUtils.GetGuideIndex(m_GroupIdMapping), Palette = CustomColorPaletteStorage.m_Instance.GetPaletteForSaving(), diff --git a/Assets/Scripts/SoundClip.cs b/Assets/Scripts/SoundClip.cs new file mode 100644 index 0000000000..e397bfa8d3 --- /dev/null +++ b/Assets/Scripts/SoundClip.cs @@ -0,0 +1,391 @@ +// Copyright 2020 The Tilt Brush Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using System; +using System.Collections.Generic; +using System.Threading.Tasks; +using UnityEngine; +using UnityEngine.Networking; + +namespace TiltBrush +{ + [System.Serializable] + public class SoundClip + { + /// The controller is used as a handle for controlling the clip - clips stay instantiated as + /// long as there are controllers in existence that reference them. For this reason it is + /// important to Dispose() of controllers once they are no longer needed. + /// + /// Properties of sound clips that can change (playing state, volume, scrub position) are all accessed + /// through the Controller - properties of clips that are unchanging are accessed through the + /// SoundClip. + public class SoundClipController : IDisposable + { + private Action m_OnSoundClipInitialized; + private SoundClip m_SoundClip; + private bool m_SoundClipInitialized; + + public AudioSource m_SoundClipAudioSource; + + public bool Initialized => m_SoundClipInitialized; + + /// Clips do not start playing immediately; this event is triggered when the clip is ready. + /// However, as several controllers may point at the same clip, if a controller is made to + /// point at an already playing clip, when a user adds a value to OnSoundClipInitialized, the event + /// will be made to trigger immediately. The event is always cleared after triggering so this + /// will not cause OnSoundClipInitialized functions to be called more than once. + public event Action OnSoundClipInitialized + { + add + { + m_OnSoundClipInitialized += value; + if (m_SoundClipInitialized) + { + OnInitialization(); + } + } + remove { m_OnSoundClipInitialized -= value; } + } + + public bool Playing + { + get => m_SoundClipInitialized ? m_SoundClipAudioSource.isPlaying : false; + set + { + if (m_SoundClipInitialized) + { + if (m_SoundClipAudioSource.isPlaying) + { + m_SoundClipAudioSource.Pause(); + } + else + { + m_SoundClipAudioSource.Play(); + } + } + } + } + + public float Volume + { + get => (!m_SoundClipInitialized || m_SoundClipAudioSource.mute) + ? 0f : m_SoundClipAudioSource.volume; + set + { + if (m_SoundClipInitialized) + { + if (value <= 0.005f) + { + m_SoundClipAudioSource.volume = 0; + m_SoundClipAudioSource.mute = true; + } + else + { + m_SoundClipAudioSource.mute = false; + m_SoundClipAudioSource.volume = value; + } + } + } + } + + public float Position + { + get => m_SoundClipInitialized ? (float)(m_SoundClipAudioSource.time / m_SoundClipAudioSource.clip.length) : 0f; + set + { + if (m_SoundClipInitialized) + { + m_SoundClipAudioSource.time = m_SoundClipAudioSource.clip.length * Mathf.Clamp01(value); + } + } + } + + public float Time + { + get => m_SoundClipInitialized ? (float)m_SoundClipAudioSource.time : 0f; + set + { + if (m_SoundClipInitialized) + { + m_SoundClipAudioSource.time = Mathf.Clamp(value, 0, (float)m_SoundClipAudioSource.clip.length); + } + } + } + + public float Length => m_SoundClipInitialized ? (float)m_SoundClipAudioSource.clip.length : 0f; + + public SoundClipController(SoundClip soundClip, SoundClipWidget widget) + { + m_SoundClip = soundClip; + m_SoundClipAudioSource = widget.gameObject.GetComponent(); + if (m_SoundClipAudioSource != null) + { + m_SoundClipInitialized = m_SoundClipAudioSource.clip != null; + } + } + + public SoundClipController(SoundClipController other) + { + m_SoundClip = other.m_SoundClip; + m_SoundClipAudioSource = other.m_SoundClipAudioSource; + m_SoundClipInitialized = other.m_SoundClipInitialized; + m_SoundClip.m_Controller = this; + } + + public void Dispose() + { + if (m_SoundClip != null) + { + m_SoundClip.OnControllerDisposed(this); + m_SoundClip = null; + } + } + + public void OnInitialization() + { + m_SoundClipInitialized = true; + m_OnSoundClipInitialized?.Invoke(); + m_OnSoundClipInitialized = null; + } + } + + public static SoundClip CreateDummySoundClip() + { + return new SoundClip(); + } + + private SoundClipController m_Controller; + + /// Persistent path is relative to the Tilt Brush/Media Library/SoundClips directory, if it is a + /// filename. + public string PersistentPath { get; } + public string AbsolutePath { get; } + public string HumanName { get; } + + public Texture2D Thumbnail { get; private set; } + + public uint Width { get; private set; } + + public uint Height { get; private set; } + + public float Aspect { get; private set; } + + public bool IsInitialized { get; private set; } + + public bool HasInstances => m_Controller != null; + + public string Error { get; private set; } + + public SoundClip(string filePath) + { + PersistentPath = filePath.Substring(App.SoundClipLibraryPath().Length + 1); + HumanName = System.IO.Path.GetFileName(PersistentPath); + AbsolutePath = filePath; + } + + // Dummy SoundClip - this is used when a clip referenced in a sketch cannot be found. + private SoundClip() + { + IsInitialized = false; + Width = 160; + Height = 90; + Aspect = 16 / 9f; + PersistentPath = ""; + AbsolutePath = ""; + HumanName = ""; + } + + /// Creates a controller for this sound clip. Controllers are Disposable and it is important + /// to Dispose a controller after it is finished with. If disposal does not happen, then the + /// clip decoder will keep decoding, using up memory and bandwidth. If the audio is turned on + /// then the audio will continue. DISPOSE OF YOUR CONTROLLERS. + public SoundClipController CreateController(SoundClipWidget widget) + { + SoundClipController soundClipController = new SoundClipController(this, widget); + bool alreadyPrepared = HasInstances; + m_Controller = soundClipController; + if (!alreadyPrepared) + { + SoundClipCatalog.Instance.StartCoroutine(PrepareAudioPlayer(InitializeControllers)); + } + return soundClipController; + } + + private void InitializeControllers() + { + m_Controller.OnInitialization(); + } + + private void OnControllerDisposed(SoundClipController soundClipController) + { + if (!HasInstances && m_Controller.m_SoundClipAudioSource != null) + { + m_Controller.m_SoundClipAudioSource.Stop(); + UnityEngine.Object.Destroy(m_Controller.m_SoundClipAudioSource.gameObject); + m_Controller.m_SoundClipAudioSource = null; + } + } + + async Task LoadClip(string path) + { + AudioClip clip = null; + AudioType audioType = path.ToLower() switch + { + var a when a.EndsWith(".wav") => AudioType.WAV, + var a when a.EndsWith(".mp3") => AudioType.MPEG, + var a when a.EndsWith(".ogg") => AudioType.OGGVORBIS, + var a when a.EndsWith(".aiff") || a.EndsWith(".aif") => AudioType.AIFF, + var a when a.EndsWith(".mod") => AudioType.MOD, + var a when a.EndsWith(".it") => AudioType.IT, + var a when a.EndsWith(".s3m") => AudioType.S3M, + var a when a.EndsWith(".xm") => AudioType.XM, + _ => throw new ArgumentOutOfRangeException(nameof(path), $"Unsupported audio type: {path}.") + }; + + using (UnityWebRequest uwr = UnityWebRequestMultimedia.GetAudioClip(path, audioType)) + { + uwr.SendWebRequest(); + + try + { + while (!uwr.isDone) await Task.Delay(5); + + if (uwr.isNetworkError || uwr.isHttpError) Debug.Log($"{uwr.error}"); + else + { + clip = DownloadHandlerAudioClip.GetContent(uwr); + } + } + catch (Exception err) + { + Debug.Log($"{err.Message}, {err.StackTrace}"); + } + } + return clip; + } + + + private IEnumerator PrepareAudioPlayer(Action onCompletion) + { + Error = null; + m_Controller.m_SoundClipAudioSource.playOnAwake = false; + string fullPath = System.IO.Path.Combine(App.SoundClipLibraryPath(), PersistentPath); + var audioClipTask = LoadClip(fullPath); + while (!audioClipTask.IsCompleted) + { + yield return null; + } + m_Controller.m_SoundClipAudioSource.clip = audioClipTask.Result; + m_Controller.m_SoundClipAudioSource.loop = true; + + Width = 128; + Height = 128; + Aspect = 1; + + m_Controller.m_SoundClipAudioSource.mute = false; + m_Controller.m_SoundClipAudioSource.Play(); + + if (onCompletion != null) + { + onCompletion(); + } + } + + private void OnError(GvrAudioSource player, string error) + { + Error = error; + } + + public IEnumerator Initialize() + { + int width, height; + if (Aspect > 1) + { + width = 128; + height = Mathf.RoundToInt(width / Aspect); + } + else + { + height = 128; + width = Mathf.RoundToInt(height * Aspect); + } + // A frame does not always seem to be immediately available, so wait until we've hit at least + // the second frame before continuing. + while (m_Controller == null || m_Controller.m_SoundClipAudioSource.time < 0.1) + { + yield return null; + } + Thumbnail = GetWaveform(50, Color.white); + IsInitialized = true; + } + + public void Dispose() + { + if (m_Controller.m_SoundClipAudioSource != null) + { + Debug.Assert(m_Controller != null, + "There should be a controller if the SoundClipAudioSource is not null."); + m_Controller.Dispose(); + } + if (Thumbnail != null) + { + UnityEngine.Object.Destroy(Thumbnail); + } + } + + public override string ToString() + { + return $"{HumanName}: {Width}x{Height} {Aspect}"; + } + + public Texture2D GetWaveform(float saturation, Color col) + { + Thumbnail = new Texture2D(1, 1); + var width = Thumbnail.width; + var height = Thumbnail.height; + var audio = m_Controller.m_SoundClipAudioSource.clip; + Texture2D tex = new Texture2D(width, height, TextureFormat.RGBA32, false); + float[] samples = new float[audio.samples]; + float[] waveform = new float[width]; + audio.GetData(samples, 0); + int packSize = (audio.samples / width) + 1; + int s = 0; + for (int i = 0; i < audio.samples; i += packSize) + { + waveform[s] = Mathf.Abs(samples[i]); + s++; + } + + for (int x = 0; x < width; x++) + { + for (int y = 0; y < height; y++) + { + tex.SetPixel(x, y, Color.clear); + } + } + + for (int x = 0; x < waveform.Length; x++) + { + for (int y = 0; y <= waveform[x] * ((float)height * saturation); y++) + { + tex.SetPixel(x, (height / 2) + y, col); + tex.SetPixel(x, (height / 2) - y, col); + } + } + tex.Apply(); + + return tex; + } + } +} // namespace TiltBrush diff --git a/Assets/Scripts/SoundClip.cs.meta b/Assets/Scripts/SoundClip.cs.meta new file mode 100644 index 0000000000..e938e2c0f2 --- /dev/null +++ b/Assets/Scripts/SoundClip.cs.meta @@ -0,0 +1,3 @@ +fileFormatVersion: 2 +guid: 8a655622d4ae46039e24d7bef2a5ad6c +timeCreated: 1693146118 \ No newline at end of file diff --git a/Assets/Scripts/SoundClipButton.cs b/Assets/Scripts/SoundClipButton.cs new file mode 100644 index 0000000000..24d75319a0 --- /dev/null +++ b/Assets/Scripts/SoundClipButton.cs @@ -0,0 +1,57 @@ +// Copyright 2020 The Tilt Brush Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +namespace TiltBrush +{ + public class SoundClipButton : BaseButton + { + private SoundClip m_SoundClip; + + override protected void OnButtonPressed() + { + base.OnButtonPressed(); + CreateWidgetCommand createCommand = new CreateWidgetCommand( + WidgetManager.m_Instance.SoundClipWidgetPrefab, TrTransform.FromTransform(transform), null, + false, SelectionManager.m_Instance.SnappingGridSize, SelectionManager.m_Instance.SnappingAngle + ); + SketchMemoryScript.m_Instance.PerformAndRecordCommand(createCommand); + + SoundClipWidget soundClipWidget = createCommand.Widget as SoundClipWidget; + soundClipWidget.SetSoundClip(m_SoundClip); + soundClipWidget.Show(true); + createCommand.SetWidgetCost(soundClipWidget.GetTiltMeterCost()); + + WidgetManager.m_Instance.WidgetsDormant = false; + SketchControlsScript.m_Instance.EatGazeObjectInput(); + SelectionManager.m_Instance.RemoveFromSelection(false); + } + + public void RefreshDescription() + { + if (m_SoundClip != null) + { + SetDescriptionText(m_SoundClip.HumanName); + } + } + + public SoundClip SoundClip + { + get { return m_SoundClip; } + set + { + m_SoundClip = value; + SetButtonTexture(m_SoundClip.Thumbnail); + } + } + } +} diff --git a/Assets/Scripts/SoundClipButton.cs.meta b/Assets/Scripts/SoundClipButton.cs.meta new file mode 100644 index 0000000000..3d69eaac63 --- /dev/null +++ b/Assets/Scripts/SoundClipButton.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 24551363d68fa9848b0d5e8aa9e245ac +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/SoundClipCatalog.cs b/Assets/Scripts/SoundClipCatalog.cs new file mode 100644 index 0000000000..7c5bb5924f --- /dev/null +++ b/Assets/Scripts/SoundClipCatalog.cs @@ -0,0 +1,226 @@ +// Copyright 2023 The Open Brush Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using UnityEngine; + +namespace TiltBrush +{ + public class SoundClipCatalog : MonoBehaviour, IReferenceItemCatalog + { + static public SoundClipCatalog Instance { get; private set; } + [SerializeField] private string[] m_DefaultSoundClips; + [SerializeField] private bool m_DebugOutput; + [SerializeField] private string[] m_supportedSoundClipExtensions; + + private FileWatcher m_FileWatcher; + private bool m_ScanningDirectory; + private bool m_DirectoryScanRequired; + private HashSet m_ChangedFiles; + + private List m_SoundClips; + private string m_CurrentSoundClipDirectory; + public string CurrentSoundClipDirectory => m_CurrentSoundClipDirectory; + private List m_SoundClip; + + public bool IsScanning => m_ScanningDirectory; + + private void Awake() + { + Instance = this; + Init(); + } + + private void Init() + { + App.InitMediaLibraryPath(); + App.InitSoundClipLibraryPath(m_DefaultSoundClips); + + m_SoundClips = new List(); + m_ChangedFiles = new HashSet(); + + StartCoroutine(ScanReferenceDirectory()); + + if (Directory.Exists(App.SoundClipLibraryPath())) + { + m_FileWatcher = new FileWatcher(App.SoundClipLibraryPath()); + m_FileWatcher.NotifyFilter = NotifyFilters.LastWrite; + m_FileWatcher.FileChanged += OnDirectoryChanged; + m_FileWatcher.FileCreated += OnDirectoryChanged; + m_FileWatcher.FileDeleted += OnDirectoryChanged; + m_FileWatcher.EnableRaisingEvents = true; + } + } + + public event Action CatalogChanged; + public int ItemCount + { + get { return m_SoundClips.Count; } + } + + private void OnDestroy() + { + foreach (var clip in m_SoundClips) + { + clip.Dispose(); + } + m_FileWatcher.EnableRaisingEvents = false; + } + + public SoundClip GetSoundClipAtIndex(int index) + { + if (index < m_SoundClips.Count && index >= 0) + { + return m_SoundClips[index]; + } + throw new ArgumentException( + $"Sound Clip Catalog has {m_SoundClips.Count} soundclips. Clip {index} requested."); + } + + // Directory scanning works in the following manner: + // Scanning is triggered when the directory scan required flag is set, and no scanning is + // currently in progress. A Filewatcher watches the directory for changes and will set the scan + // required flag if it sees a change. If a file has changed, then it adds it to a list of changed + // files, so that it will force a rescan of that file, rather than ignoring it as a file it + // has already scanned. + private void Update() + { + if (m_DirectoryScanRequired) + { + ForceCatalogScan(); + } + } + + public void ForceCatalogScan() + { + if (!m_ScanningDirectory) + { + m_DirectoryScanRequired = false; + StartCoroutine(ScanReferenceDirectory()); + } + } + + private void OnDirectoryChanged(object source, FileSystemEventArgs e) + { + m_DirectoryScanRequired = true; + if (e.ChangeType == WatcherChangeTypes.Changed) + { + lock (m_ChangedFiles) + { + m_ChangedFiles.Add(e.FullPath); + } + } + } + + private IEnumerator ScanReferenceDirectory() + { + m_ScanningDirectory = true; + HashSet changedSet = null; + // We do a switcheroo on the changed list here so that there isn't a conflict with it + // if a filewatch callback happens. + lock (m_ChangedFiles) + { + changedSet = m_ChangedFiles; + m_ChangedFiles = new HashSet(); + } + + var existing = new HashSet(m_SoundClips.Select(x => x.AbsolutePath)); + var detected = new HashSet( + Directory.GetFiles(App.SoundClipLibraryPath(), "*.*", SearchOption.AllDirectories).Where(x => m_supportedSoundClipExtensions.Contains(Path.GetExtension(x)))); + var toDelete = existing.Except(detected).Concat(changedSet).ToArray(); + var toScan = detected.Except(existing).Concat(changedSet).ToArray(); + + // Remove deleted sound clips from the list. Currently playing clips may continue to play, but will + // not appear in the reference panel. + m_SoundClips.RemoveAll(x => toDelete.Contains(x.AbsolutePath)); + + var newSoundClips = new List(); + foreach (var filePath in toScan) + { + SoundClip clipRef = new SoundClip(filePath); + newSoundClips.Add(clipRef); + m_SoundClips.Add(clipRef); + } + + // If we have a lot of clips, they may take a while to create thumbnails. Make sure we refresh + // every few seconds so the user sees progress if they go straight to the reference panel. + TimeSpan interval = TimeSpan.FromSeconds(4); + DateTime nextRefresh = DateTime.Now + interval; + foreach (var clipRef in newSoundClips) + { + if (DateTime.Now > nextRefresh) + { + CatalogChanged?.Invoke(); + nextRefresh = DateTime.Now + interval; + } + yield return clipRef.Initialize(); + } + + m_ScanningDirectory = false; + CatalogChanged?.Invoke(); + if (m_DebugOutput) + { + DebugListSoundClips(); + } + } + + /// Gets a clip form the catalog, given its filename. Returns null if no such clip is found. + public SoundClip GetSoundClipByPersistentPath(string path) + { + return m_SoundClips.FirstOrDefault(x => x.PersistentPath == path); + } + + public void DebugListSoundClips() + { + foreach (var clip in m_SoundClips) + { + Debug.Log(clip); + } + } + + public void ChangeDirectory(string newPath) + { + m_CurrentSoundClipDirectory = newPath; + m_SoundClips = new List(); + m_ChangedFiles = new HashSet(); + + StartCoroutine(ScanReferenceDirectory()); + + if (Directory.Exists(m_CurrentSoundClipDirectory)) + { + m_FileWatcher = new FileWatcher(m_CurrentSoundClipDirectory); + m_FileWatcher.NotifyFilter = NotifyFilters.LastWrite; + m_FileWatcher.FileChanged += OnDirectoryChanged; + m_FileWatcher.FileCreated += OnDirectoryChanged; + m_FileWatcher.FileDeleted += OnDirectoryChanged; + m_FileWatcher.EnableRaisingEvents = true; + } + } + + public string HomeDirectory => App.VideoLibraryPath(); + public bool IsHomeDirectory() => m_CurrentSoundClipDirectory == HomeDirectory; + + public bool IsSubDirectoryOfHome() + { + return m_CurrentSoundClipDirectory.StartsWith(HomeDirectory); + } + public string GetCurrentDirectory() + { + return m_CurrentSoundClipDirectory; + } + + } +} diff --git a/Assets/Scripts/SoundClipCatalog.cs.meta b/Assets/Scripts/SoundClipCatalog.cs.meta new file mode 100644 index 0000000000..7abb7766c0 --- /dev/null +++ b/Assets/Scripts/SoundClipCatalog.cs.meta @@ -0,0 +1,3 @@ +fileFormatVersion: 2 +guid: 4dca52281a4840acb41e0cb27ab4671c +timeCreated: 1693145608 \ No newline at end of file diff --git a/Assets/Scripts/Switchboard.cs b/Assets/Scripts/Switchboard.cs index d91744c3e6..a3d098adad 100644 --- a/Assets/Scripts/Switchboard.cs +++ b/Assets/Scripts/Switchboard.cs @@ -36,6 +36,7 @@ public class Switchboard public event Action AllWidgetsDestroyed; public event Action SelectionChanged; public event Action VideoWidgetActivated; + public event Action SoundClipWidgetActivated; public event Action VideoRecordingStopped; public void TriggerAdvancedPanelsChanged() @@ -136,6 +137,11 @@ public void TriggerVideoWidgetActivated(VideoWidget widget) VideoWidgetActivated?.Invoke(widget); } + public void TriggerSoundClipWidgetActivated(SoundClipWidget widget) + { + SoundClipWidgetActivated?.Invoke(widget); + } + public void TriggerVideoRecordingStopped() { VideoRecordingStopped?.Invoke(); diff --git a/Assets/Scripts/WidgetManager.cs b/Assets/Scripts/WidgetManager.cs index e9b5e445fe..c742ee4384 100644 --- a/Assets/Scripts/WidgetManager.cs +++ b/Assets/Scripts/WidgetManager.cs @@ -104,6 +104,7 @@ public class WidgetManager : MonoBehaviour [SerializeField] GameObject m_WidgetPinPrefab; [SerializeField] ImageWidget m_ImageWidgetPrefab; [SerializeField] VideoWidget m_VideoWidgetPrefab; + [SerializeField] SoundClipWidget m_SoundClipWidgetPrefab; [SerializeField] LightWidget m_LightWidgetPrefab; [SerializeField] SceneLightGizmo m_SceneLightGizmoPrefab; [SerializeField] CameraPathWidget m_CameraPathWidgetPrefab; @@ -146,6 +147,7 @@ public class WidgetManager : MonoBehaviour private List> m_StencilWidgets; private List> m_ImageWidgets; private List> m_VideoWidgets; + private List> m_SoundClipWidgets; private List> m_CameraPathWidgets; // These lists are used by the PinTool. They're kept in sync by the @@ -158,6 +160,7 @@ public class WidgetManager : MonoBehaviour private TiltLights[] m_loadingTiltLights; private TiltImages75[] m_loadingTiltImages75; private TiltVideo[] m_loadingTiltVideos; + private TiltSoundClip[] m_loadingTiltSoundClips; private List m_WidgetsNearBrush; private List m_WidgetsNearWand; @@ -267,6 +270,8 @@ public int WidgetsVertCount public bool AnyVideoWidgetActive => m_VideoWidgets.Any(x => x.m_WidgetObject.activeSelf); + public bool AnySoundClipWidgetActive => m_SoundClipWidgets.Any(x => x.m_WidgetObject.activeSelf); + public bool AnyCameraPathWidgetsActive => m_CameraPathWidgets.Any(x => x.m_WidgetObject.activeSelf); @@ -304,6 +309,7 @@ public void Init() m_StencilWidgets = new List>(); m_ImageWidgets = new List>(); m_VideoWidgets = new List>(); + m_SoundClipWidgets = new List>(); m_CameraPathWidgets = new List>(); m_CanBePinnedWidgets = new List(); @@ -330,6 +336,7 @@ public void Init() public ModelWidget ModelWidgetPrefab { get { return m_ModelWidgetPrefab; } } public ImageWidget ImageWidgetPrefab { get { return m_ImageWidgetPrefab; } } public VideoWidget VideoWidgetPrefab { get { return m_VideoWidgetPrefab; } } + public SoundClipWidget SoundClipWidgetPrefab { get { return m_SoundClipWidgetPrefab; } } public LightWidget LightWidgetPrefab { get { return m_LightWidgetPrefab; } } public SceneLightGizmo SceneLightGizmoPrefab { get { return m_SceneLightGizmoPrefab; } } public CameraPathWidget CameraPathWidgetPrefab { get { return m_CameraPathWidgetPrefab; } } @@ -396,6 +403,13 @@ private IEnumerable GetAllActiveGrabWidgets() yield return m_VideoWidgets[i]; } } + for (int i = 0; i < m_SoundClipWidgets.Count; ++i) + { + if (m_SoundClipWidgets[i].m_WidgetObject.activeSelf) + { + yield return m_SoundClipWidgets[i]; + } + } for (int i = 0; i < m_CameraPathWidgets.Count; ++i) { if (m_CameraPathWidgets[i].m_WidgetObject.activeInHierarchy) @@ -410,9 +424,9 @@ public IEnumerable MediaWidgets get { IEnumerable ret = m_ModelWidgets; - return ret - .Concat(m_ImageWidgets) + return ret.Concat(m_ImageWidgets) .Concat(m_VideoWidgets) + .Concat(m_SoundClipWidgets) .Concat(m_LightWidgets); } } @@ -613,11 +627,11 @@ public bool CameraPathsVisible public bool HasSelectableWidgets() { - return - (m_ModelWidgets.Count > 0) || + return m_ModelWidgets.Count > 0 || + m_ImageWidgets.Count > 0 || + m_VideoWidgets.Count > 0 || + m_SoundClipWidgets.Count > 0 || (m_LightWidgets.Count > 0) || - (m_ImageWidgets.Count > 0) || - (m_VideoWidgets.Count > 0) || (!m_StencilsDisabled && m_StencilWidgets.Count > 0); } @@ -738,6 +752,14 @@ public void SetDataFromTilt(CameraPathMetadata[] cameraPaths) } } + public void SetDataFromTilt(TiltSoundClip[] tiltSoundClip) + { + for (int i = 0; i < tiltSoundClip.Length; ++i) + { + SoundClipWidget.FromTiltSoundClip(tiltSoundClip[i]); + } + } + public void SetDataFromTilt(TiltVideo[] value) { m_loadingTiltVideos = value; @@ -1006,6 +1028,16 @@ public IEnumerable VideoWidgets } } + public IEnumerable SoundClipWidgets + { + get + { + return m_SoundClipWidgets + .Select(w => w == null ? null : w.WidgetScript) + .Where(w => w != null); + } + } + public IEnumerable NonExportableModelWidgets { get @@ -1065,6 +1097,7 @@ public List GetAllUnselectedActiveWidgets() GetUnselectedActiveWidgetsInList(m_LightWidgets); GetUnselectedActiveWidgetsInList(m_ImageWidgets); GetUnselectedActiveWidgetsInList(m_VideoWidgets); + GetUnselectedActiveWidgetsInList(m_SoundClipWidgets); if (!m_StencilsDisabled) { GetUnselectedActiveWidgetsInList(m_StencilWidgets); @@ -1096,6 +1129,7 @@ public void RefreshPinAndUnpinLists() RefreshPinUnpinWidgetList(m_LightWidgets); RefreshPinUnpinWidgetList(m_ImageWidgets); RefreshPinUnpinWidgetList(m_VideoWidgets); + RefreshPinUnpinWidgetList(m_SoundClipWidgets); RefreshPinUnpinWidgetList(m_StencilWidgets); RefreshPinAndUnpinAction(); @@ -1177,6 +1211,10 @@ public void RegisterGrabWidget(GameObject rWidget) { m_VideoWidgets.Add(new TypedWidgetData(video)); } + else if (generic is SoundClipWidget soundClip) + { + m_SoundClipWidgets.Add(new TypedWidgetData(soundClip)); + } else if (generic is CameraPathWidget cpw) { m_CameraPathWidgets.Add(new TypedWidgetData(cpw)); @@ -1228,6 +1266,7 @@ public void UnregisterGrabWidget(GameObject rWidget) if (RemoveFrom(m_StencilWidgets, rWidget)) { return; } if (RemoveFrom(m_ImageWidgets, rWidget)) { return; } if (RemoveFrom(m_VideoWidgets, rWidget)) { return; } + if (RemoveFrom(m_SoundClipWidgets, rWidget)) { return; } if (RemoveFrom(m_CameraPathWidgets, rWidget)) { return; } RemoveFrom(m_GrabWidgets, rWidget); } @@ -1375,6 +1414,7 @@ public void DestroyAllWidgets() DestroyWidgetList(m_LightWidgets); DestroyWidgetList(m_ImageWidgets); DestroyWidgetList(m_VideoWidgets); + DestroyWidgetList(m_SoundClipWidgets); DestroyWidgetList(m_StencilWidgets); DestroyWidgetList(m_CameraPathWidgets, false); SetCurrentCameraPath_Internal(null); @@ -1552,6 +1592,8 @@ public void TossNearestWidget() m_ModelWidgets.Where(w => w.WidgetScript.gameObject.activeSelf).ToList(); public List> ActiveVideoWidgets => m_VideoWidgets.Where(w => w.WidgetScript.gameObject.activeSelf).ToList(); + public List> ActiveSoundClipWidgets => + m_SoundClipWidgets.Where(w => w.WidgetScript.gameObject.activeSelf).ToList(); public List> ActiveCameraPathWidgets => m_CameraPathWidgets.Where(w => w.WidgetScript.gameObject.activeSelf).ToList(); diff --git a/Assets/Scripts/Widgets/SoundClipWidget.cs b/Assets/Scripts/Widgets/SoundClipWidget.cs new file mode 100644 index 0000000000..7e7f9140cf --- /dev/null +++ b/Assets/Scripts/Widgets/SoundClipWidget.cs @@ -0,0 +1,225 @@ +// Copyright 2020 The Tilt Brush Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using UnityEngine; +using System.IO; + +namespace TiltBrush +{ + public class SoundClipWidget : Media2dWidget + { + // AudioState is used to restore the state of a sound clip when loading, or when a SoundClipWidget is + // restored from being tossed with an undo. + private class SoundClipState + { + public bool Paused; + public float Volume; + public float? Time; + } + + private SoundClip m_SoundClip; + private SoundClipState m_InitialState; + + public SoundClip SoundClip + { + get { return m_SoundClip; } + } + + public override float? AspectRatio => 1.0f; + + public TrTransform SaveTransform + { + get + { + TrTransform xf = TrTransform.FromLocalTransform(transform); + xf.scale = GetSignedWidgetSize(); + return xf; + } + } + + public SoundClip.SoundClipController SoundClipController { get; private set; } + + public void SetSoundClip(SoundClip soundClip) + { + m_SoundClip = soundClip; + + var size = GetWidgetSizeRange(); + if (m_SoundClip.Aspect > 1) + { + m_Size = Mathf.Clamp(2 / m_SoundClip.Aspect / Coords.CanvasPose.scale, size.x, size.y); + } + else + { + m_Size = Mathf.Clamp(2 * m_SoundClip.Aspect / Coords.CanvasPose.scale, size.x, size.y); + } + + // Create in the main canvas. + HierarchyUtils.RecursivelySetLayer(transform, App.Scene.MainCanvas.gameObject.layer); + HierarchyUtils.RecursivelySetMaterialBatchID(transform, m_BatchId); + + // InitSnapGhost(m_ImageQuad.transform, transform); + Play(); + } + + protected override void OnShow() + { + base.OnShow(); + Play(); + } + + public override void RestoreFromToss() + { + base.RestoreFromToss(); + Play(); + } + + protected override void OnHide() + { + base.OnHide(); + // store off the sound clip state so that if the widget gets shown again it will reset to that. + if (SoundClipController != null) + { + m_InitialState = new SoundClipState + { + Paused = !SoundClipController.Playing, + Time = SoundClipController.Time, + Volume = SoundClipController.Volume, + }; + SoundClipController.Dispose(); + SoundClipController = null; + } + } + + protected override void OnDestroy() + { + base.OnDestroy(); + SoundClipController?.Dispose(); + SoundClipController = null; + } + + private void Play() + { + if (m_SoundClip == null || SoundClipController != null) + { + return; + } + // If instances of the sound clip already exist, don't override with new state. + if (m_SoundClip.HasInstances) + { + m_InitialState = null; + } + SoundClipController = m_SoundClip.CreateController(this); + + //SoundClipController.m_SoundClipAudioSource.Play(); + SoundClipController.OnSoundClipInitialized += OnSoundClipInitialized; + } + + private void OnSoundClipInitialized() + { + UpdateScale(); + if (m_InitialState != null) + { + SoundClipController.Volume = m_InitialState.Volume; + if (m_InitialState.Time.HasValue) + { + SoundClipController.Time = m_InitialState.Time.Value; + } + if (m_InitialState.Paused) + { + SoundClipController.Playing = false; + } + m_InitialState = null; + } + } + + public static void FromTiltSoundClip(TiltSoundClip tiltSoundClip) + { + SoundClipWidget soundClipWidget = Instantiate(WidgetManager.m_Instance.SoundClipWidgetPrefab); + soundClipWidget.m_LoadingFromSketch = true; + soundClipWidget.transform.parent = App.Instance.m_CanvasTransform; + soundClipWidget.transform.localScale = Vector3.one; + + var soundClip = SoundClipCatalog.Instance.GetSoundClipByPersistentPath(tiltSoundClip.FilePath); + if (soundClip == null) + { + soundClip = SoundClip.CreateDummySoundClip(); + ControllerConsoleScript.m_Instance.AddNewLine( + $"Could not find sound clip {App.SoundClipLibraryPath()}\\{tiltSoundClip.FilePath}."); + } + soundClipWidget.SetSoundClip(soundClip); + soundClipWidget.m_InitialState = new SoundClipState + { + Volume = tiltSoundClip.Volume, + Paused = tiltSoundClip.Paused, + }; + if (tiltSoundClip.Paused) + { + soundClipWidget.m_InitialState.Time = tiltSoundClip.Time; + } + soundClipWidget.SetSignedWidgetSize(tiltSoundClip.Transform.scale); + soundClipWidget.Show(bShow: true, bPlayAudio: false); + soundClipWidget.transform.localPosition = tiltSoundClip.Transform.translation; + soundClipWidget.transform.localRotation = tiltSoundClip.Transform.rotation; + if (tiltSoundClip.Pinned) + { + soundClipWidget.PinFromSave(); + } + soundClipWidget.Group = App.GroupManager.GetGroupFromId(tiltSoundClip.GroupId); + soundClipWidget.SetCanvas(App.Scene.GetOrCreateLayer(tiltSoundClip.LayerId)); + TiltMeterScript.m_Instance.AdjustMeterWithWidget(soundClipWidget.GetTiltMeterCost(), up: true); + soundClipWidget.UpdateScale(); + } + + override public GrabWidget Clone() + { + return Clone(transform.position, transform.rotation, m_Size); + } + override public GrabWidget Clone(Vector3 position, Quaternion rotation, float size) + { + SoundClipWidget clone = Instantiate(WidgetManager.m_Instance.SoundClipWidgetPrefab) as SoundClipWidget; + clone.m_PreviousCanvas = m_PreviousCanvas; + clone.m_LoadingFromSketch = true; // prevents intro animation + clone.transform.parent = transform.parent; + clone.SetSoundClip(m_SoundClip); + clone.SetSignedWidgetSize(size); + clone.Show(bShow: true, bPlayAudio: false); + clone.transform.position = position; + clone.transform.rotation = rotation; + HierarchyUtils.RecursivelySetLayer(clone.transform, gameObject.layer); + TiltMeterScript.m_Instance.AdjustMeterWithWidget(clone.GetTiltMeterCost(), up: true); + clone.CloneInitialMaterials(this); + clone.TrySetCanvasKeywordsFromObject(transform); + return clone; + } + + public override void Activate(bool bActive) + { + base.Activate(bActive); + if (bActive) + { + App.Switchboard.TriggerSoundClipWidgetActivated(this); + } + } + + protected override void UpdateScale() + { + transform.localScale = Vector3.one * m_Size; + } + + public override string GetExportName() + { + return Path.GetFileNameWithoutExtension(m_SoundClip.AbsolutePath); + } + } +} // namespace TiltBrush diff --git a/Assets/Scripts/Widgets/SoundClipWidget.cs.meta b/Assets/Scripts/Widgets/SoundClipWidget.cs.meta new file mode 100644 index 0000000000..7900fd7021 --- /dev/null +++ b/Assets/Scripts/Widgets/SoundClipWidget.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 83702bf1a42755143b9cd9cfe4e1c7c3 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Settings/Localization/Strings/Strings Shared Data.asset b/Assets/Settings/Localization/Strings/Strings Shared Data.asset index 5bc5787fd3..7384f5f09c 100644 --- a/Assets/Settings/Localization/Strings/Strings Shared Data.asset +++ b/Assets/Settings/Localization/Strings/Strings Shared Data.asset @@ -3243,6 +3243,14 @@ MonoBehaviour: m_Key: WEBCAM_PANEL_NEXT_DEVICE m_Metadata: m_Items: [] + - m_Id: 144201565051027456 + m_Key: PANEL_AUDIO_CLIP_DESCRIPTION + m_Metadata: + m_Items: [] + - m_Id: 144204798700027904 + m_Key: PANEL_REFERENCE_AUDIO_DESCRIPTION + m_Metadata: + m_Items: [] - m_Id: 137988464450723840 m_Key: LAYERS_PANEL_MOVELAYER_BUTTON_DESCRIPTION m_Metadata: diff --git a/Assets/Settings/Localization/Strings/Strings_en.asset b/Assets/Settings/Localization/Strings/Strings_en.asset index ffe9a7d28e..caa27f5856 100644 --- a/Assets/Settings/Localization/Strings/Strings_en.asset +++ b/Assets/Settings/Localization/Strings/Strings_en.asset @@ -3432,6 +3432,14 @@ MonoBehaviour: m_Localized: Next Device m_Metadata: m_Items: [] + - m_Id: 144201565051027456 + m_Localized: Audio Clip + m_Metadata: + m_Items: [] + - m_Id: 144204798700027904 + m_Localized: Audio Clips + m_Metadata: + m_Items: [] - m_Id: 137988464450723840 m_Localized: Move Selection to Current Layer m_Metadata: diff --git a/Assets/Shaders/SoundClipWidget.shader b/Assets/Shaders/SoundClipWidget.shader new file mode 100644 index 0000000000..a3b511d2cf --- /dev/null +++ b/Assets/Shaders/SoundClipWidget.shader @@ -0,0 +1,101 @@ +// Copyright 2020 The Tilt Brush Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +Shader "Custom/SoundClipWidget" { + Properties { + _Color("Main Color", Color) = (1,1,1,1) + _MainTex("Main Texture", 2D) = "white" {} + _Aspect("Aspect Ratio", Float) = 1 + _Cutoff("Alpha cutoff", Range(0,1)) = 0.5 + _Grayscale("Grayscale", Float) = 0 + [Enum(UnityEngine.Rendering.CullMode)] _CullMode ("CullMode", Int) = 2 + } + SubShader { + Tags{ "Queue" = "AlphaTest+20" "IgnoreProjector" = "True" "RenderType" = "TransparentCutout" } + Pass { + Lighting Off + Cull [_CullMode] + + CGPROGRAM + #pragma vertex vert + #pragma fragment frag + #pragma multi_compile __ SELECTION_ON HIGHLIGHT_ON + #include "UnityCG.cginc" + #include "Assets/Shaders/Include/Hdr.cginc" + #include "Assets/Shaders/Include/MobileSelection.cginc" + + fixed4 _Color; + sampler2D _MainTex; + float4 _MainTex_ST; + uniform float _Activated; + uniform float _Aspect; + uniform float _Cutoff; + uniform float _Grayscale; + uniform float _LegacyReferenceImageTint; + + struct appdata { + float4 vertex : POSITION; + float2 uv : TEXCOORD0; + }; + + struct v2f { + float2 uv : TEXCOORD0; + float4 vertex : SV_POSITION; + }; + + v2f vert (appdata v) { + + v.uv -= 0.5; + + // Landscape format images + if (_Aspect > 1.0) { + v.uv.x /= _Aspect; + } + + // Portrait format images + else { + v.uv.y *= _Aspect; + } + + v.uv += 0.5; + + v2f o; + o.vertex = UnityObjectToClipPos(v.vertex); + o.uv = TRANSFORM_TEX(v.uv, _MainTex); + return o; + } + + fixed4 frag (v2f i) : SV_Target { + fixed4 c = tex2D(_MainTex, i.uv) * _Color; + + if (c.g < _Cutoff) discard; + + // Config flag for reproducing old, broken behavior. + if (_LegacyReferenceImageTint > 0) { + c.rgb *= .75; + } + + if (_Grayscale == 1) { + float grayscale = dot(c.rgb, float3(0.3, 0.59, 0.11)); + return encodeHdr(grayscale); + } + + FRAG_MOBILESELECT(c) + + return encodeHdr(c); + } + ENDCG + } + } +} diff --git a/Assets/Shaders/SoundClipWidget.shader.meta b/Assets/Shaders/SoundClipWidget.shader.meta new file mode 100644 index 0000000000..e5a5abbb16 --- /dev/null +++ b/Assets/Shaders/SoundClipWidget.shader.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: 7316425f699fd1d459c40d7e089fa760 +ShaderImporter: + externalObjects: {} + defaultTextures: [] + nonModifiableTextures: [] + userData: + assetBundleName: + assetBundleVariant: