Updated FMOD Banks, add Audio scripts for grabbing + snaping
parent
cfe8a86425
commit
869cb6a102
Binary file not shown.
|
@ -1,5 +1,5 @@
|
||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: 0e643c13e2c624dc68780a010c29287b
|
guid: 806cc0a08922645879969a8e0490183a
|
||||||
DefaultImporter:
|
DefaultImporter:
|
||||||
externalObjects: {}
|
externalObjects: {}
|
||||||
userData:
|
userData:
|
Binary file not shown.
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: c2b4b4aa3badf48399105be452f4c11f
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 7d173e8e8d2a94e1f93a249856f348ef
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -678,8 +678,8 @@ MonoBehaviour:
|
||||||
BankRefreshCooldown: 5
|
BankRefreshCooldown: 5
|
||||||
ShowBankRefreshWindow: 1
|
ShowBankRefreshWindow: 1
|
||||||
AutomaticEventLoading: 0
|
AutomaticEventLoading: 0
|
||||||
BankLoadType: 1
|
BankLoadType: 0
|
||||||
AutomaticSampleLoading: 0
|
AutomaticSampleLoading: 1
|
||||||
EncryptionKey:
|
EncryptionKey:
|
||||||
ImportType: 0
|
ImportType: 0
|
||||||
TargetAssetPath: FMODBanks
|
TargetAssetPath: FMODBanks
|
||||||
|
@ -697,11 +697,15 @@ MonoBehaviour:
|
||||||
MasterBanks:
|
MasterBanks:
|
||||||
- Master
|
- Master
|
||||||
Banks:
|
Banks:
|
||||||
- Grotto
|
- Grotto_Essen
|
||||||
|
- Grotto_Kueche
|
||||||
|
- SBB
|
||||||
BanksToLoad:
|
BanksToLoad:
|
||||||
- Grotto
|
- Grotto.Essen
|
||||||
|
- "Grotto.Ku\u0308che"
|
||||||
- Master
|
- Master
|
||||||
- Master.strings
|
- Master.strings
|
||||||
|
- SBB
|
||||||
LiveUpdatePort: 9264
|
LiveUpdatePort: 9264
|
||||||
EnableMemoryTracking: 0
|
EnableMemoryTracking: 0
|
||||||
AndroidUseOBB: 0
|
AndroidUseOBB: 0
|
||||||
|
@ -893,7 +897,7 @@ MonoBehaviour:
|
||||||
Properties:
|
Properties:
|
||||||
LiveUpdate:
|
LiveUpdate:
|
||||||
Value: 0
|
Value: 0
|
||||||
HasValue: 0
|
HasValue: 1
|
||||||
LiveUpdatePort:
|
LiveUpdatePort:
|
||||||
Value: 9264
|
Value: 9264
|
||||||
HasValue: 1
|
HasValue: 1
|
||||||
|
@ -916,8 +920,8 @@ MonoBehaviour:
|
||||||
Value:
|
Value:
|
||||||
HasValue: 0
|
HasValue: 0
|
||||||
SpeakerMode:
|
SpeakerMode:
|
||||||
Value: 0
|
Value: 3
|
||||||
HasValue: 0
|
HasValue: 1
|
||||||
VirtualChannelCount:
|
VirtualChannelCount:
|
||||||
Value: 0
|
Value: 0
|
||||||
HasValue: 0
|
HasValue: 0
|
||||||
|
|
|
@ -2689,7 +2689,7 @@ GameObject:
|
||||||
- component: {fileID: 8061268387521178252}
|
- component: {fileID: 8061268387521178252}
|
||||||
- component: {fileID: 9007450541643059173}
|
- component: {fileID: 9007450541643059173}
|
||||||
m_Layer: 0
|
m_Layer: 0
|
||||||
m_Name: NamedEventTrigger.HANDMENU.Option3Button_93686
|
m_Name: NamedEventTrigger.HANDMENU.Option3Button_69596
|
||||||
m_TagString: Untagged
|
m_TagString: Untagged
|
||||||
m_Icon: {fileID: 0}
|
m_Icon: {fileID: 0}
|
||||||
m_NavMeshLayer: 0
|
m_NavMeshLayer: 0
|
||||||
|
@ -2826,7 +2826,7 @@ MonoBehaviour:
|
||||||
handlers:
|
handlers:
|
||||||
- {fileID: 9007450541643059173}
|
- {fileID: 9007450541643059173}
|
||||||
roomId: HANDMENU
|
roomId: HANDMENU
|
||||||
uniqueId: 93686
|
uniqueId: 69596
|
||||||
--- !u!114 &9007450541643059173
|
--- !u!114 &9007450541643059173
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
2024-11-21T20:21:37.9755870Z
|
2024-11-28T15:21:51.9731950Z
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,8 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: c6e5131d3b79e44b69dc5c9e11cdba44
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -0,0 +1,26 @@
|
||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using UnityEngine;
|
||||||
|
using UnityEngine.XR.Interaction.Toolkit;
|
||||||
|
using FMODUnity;
|
||||||
|
|
||||||
|
[RequireComponent(typeof(XRGrabInteractable))]
|
||||||
|
public class OnGrabSound : MonoBehaviour
|
||||||
|
{
|
||||||
|
[SerializeField]
|
||||||
|
EventReference soundRef;
|
||||||
|
|
||||||
|
// Start is called before the first frame update
|
||||||
|
void Start()
|
||||||
|
{
|
||||||
|
if (GetComponent<XRGrabInteractable>())
|
||||||
|
{
|
||||||
|
GetComponent<XRGrabInteractable>().selectEntered.AddListener(SelectEnterEventHandler);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void SelectEnterEventHandler(SelectEnterEventArgs args)
|
||||||
|
{
|
||||||
|
RuntimeManager.PlayOneShot(soundRef, transform.position);
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,11 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 24e64720095df47d38af17ae8f7396b2
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -0,0 +1,25 @@
|
||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using UnityEngine;
|
||||||
|
using UnityEngine.XR.Interaction.Toolkit;
|
||||||
|
using FMODUnity;
|
||||||
|
|
||||||
|
public class OnSocketSnapSound : MonoBehaviour
|
||||||
|
{
|
||||||
|
[SerializeField]
|
||||||
|
EventReference soundRef;
|
||||||
|
|
||||||
|
// Start is called before the first frame update
|
||||||
|
void Start()
|
||||||
|
{
|
||||||
|
if (GetComponent<XRSocketInteractor>())
|
||||||
|
{
|
||||||
|
GetComponent<XRSocketInteractor>().selectEntered.AddListener(SelectEnterEventHandler);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void SelectEnterEventHandler(SelectEnterEventArgs args)
|
||||||
|
{
|
||||||
|
RuntimeManager.PlayOneShot(soundRef, transform.position);
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,11 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: d4b31e14ab1d346c68027ce912338921
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
Loading…
Reference in New Issue