tried to fix FMOD dialogue issue
This commit is contained in:
parent
6a1a99d59b
commit
87e5249578
|
@ -522,8 +522,8 @@ MonoBehaviour:
|
|||
sourceProjectPath: FMOD Project/Examples.fspro
|
||||
sourceBankPath: FMOD Project\Build
|
||||
SourceBankPathUnformatted:
|
||||
AutomaticEventLoading: 1
|
||||
BankLoadType: 0
|
||||
AutomaticEventLoading: 0
|
||||
BankLoadType: 1
|
||||
AutomaticSampleLoading: 0
|
||||
EncryptionKey:
|
||||
ImportType: 0
|
||||
|
@ -545,7 +545,12 @@ MonoBehaviour:
|
|||
- Music
|
||||
- SFX
|
||||
- VO
|
||||
BanksToLoad: []
|
||||
BanksToLoad:
|
||||
- Master.bank
|
||||
- Master.strings.bank
|
||||
- Music.bank
|
||||
- SFX.bank
|
||||
- VO.bank
|
||||
LiveUpdatePort: 9264
|
||||
EnableMemoryTracking: 0
|
||||
AndroidUseOBB: 0
|
||||
|
@ -738,7 +743,7 @@ MonoBehaviour:
|
|||
CallbackHandler:
|
||||
Value: {fileID: 0}
|
||||
HasValue: 0
|
||||
outputType:
|
||||
outputType: AUTODETECT
|
||||
threadAffinities:
|
||||
Value: []
|
||||
HasValue: 0
|
||||
|
|
|
@ -1,80 +1,113 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 8514ea8d6deab804895ec1cab6902681
|
||||
timeCreated: 1429083373
|
||||
licenseType: Store
|
||||
PluginImporter:
|
||||
serializedVersion: 1
|
||||
iconMap: {}
|
||||
executionOrder: {}
|
||||
isPreloaded: 0
|
||||
platformData:
|
||||
Android:
|
||||
enabled: 0
|
||||
settings:
|
||||
CPU: AnyCPU
|
||||
Any:
|
||||
enabled: 0
|
||||
settings: {}
|
||||
Editor:
|
||||
enabled: 1
|
||||
settings:
|
||||
CPU: x86_64
|
||||
DefaultValueInitialized: true
|
||||
OS: Windows
|
||||
Linux:
|
||||
enabled: 1
|
||||
settings:
|
||||
CPU: None
|
||||
Linux64:
|
||||
enabled: 1
|
||||
settings:
|
||||
CPU: x86_64
|
||||
LinuxUniversal:
|
||||
enabled: 1
|
||||
settings:
|
||||
CPU: AnyCPU
|
||||
OSXIntel:
|
||||
enabled: 1
|
||||
settings:
|
||||
CPU: None
|
||||
OSXIntel64:
|
||||
enabled: 1
|
||||
settings:
|
||||
CPU: AnyCPU
|
||||
OSXUniversal:
|
||||
enabled: 1
|
||||
settings:
|
||||
CPU: AnyCPU
|
||||
SamsungTV:
|
||||
enabled: 0
|
||||
settings:
|
||||
STV_MODEL: STANDARD_13
|
||||
WP8:
|
||||
enabled: 0
|
||||
settings:
|
||||
CPU: AnyCPU
|
||||
DontProcess: False
|
||||
PlaceholderPath:
|
||||
Win:
|
||||
enabled: 0
|
||||
settings:
|
||||
CPU: None
|
||||
Win64:
|
||||
enabled: 1
|
||||
settings:
|
||||
CPU: AnyCPU
|
||||
WindowsStoreApps:
|
||||
enabled: 0
|
||||
settings:
|
||||
CPU: AnyCPU
|
||||
DontProcess: False
|
||||
PlaceholderPath:
|
||||
SDK: AnySDK
|
||||
iOS:
|
||||
enabled: 0
|
||||
settings:
|
||||
CompileFlags:
|
||||
FrameworkDependencies:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
fileFormatVersion: 2
|
||||
guid: 8514ea8d6deab804895ec1cab6902681
|
||||
PluginImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
iconMap: {}
|
||||
executionOrder: {}
|
||||
defineConstraints: []
|
||||
isPreloaded: 0
|
||||
isOverridable: 0
|
||||
isExplicitlyReferenced: 0
|
||||
validateReferences: 1
|
||||
platformData:
|
||||
- first:
|
||||
: Linux
|
||||
second:
|
||||
enabled: 1
|
||||
settings:
|
||||
CPU: None
|
||||
- first:
|
||||
: LinuxUniversal
|
||||
second:
|
||||
enabled: 1
|
||||
settings:
|
||||
CPU: AnyCPU
|
||||
- first:
|
||||
: OSXIntel
|
||||
second:
|
||||
enabled: 1
|
||||
settings:
|
||||
CPU: None
|
||||
- first:
|
||||
: OSXIntel64
|
||||
second:
|
||||
enabled: 1
|
||||
settings:
|
||||
CPU: AnyCPU
|
||||
- first:
|
||||
: SamsungTV
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
STV_MODEL: STANDARD_13
|
||||
- first:
|
||||
: WP8
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
CPU: AnyCPU
|
||||
DontProcess: False
|
||||
PlaceholderPath:
|
||||
- first:
|
||||
Android: Android
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
CPU: AnyCPU
|
||||
- first:
|
||||
Any:
|
||||
second:
|
||||
enabled: 0
|
||||
settings: {}
|
||||
- first:
|
||||
Editor: Editor
|
||||
second:
|
||||
enabled: 1
|
||||
settings:
|
||||
CPU: x86_64
|
||||
DefaultValueInitialized: true
|
||||
OS: Windows
|
||||
- first:
|
||||
Standalone: Linux64
|
||||
second:
|
||||
enabled: 1
|
||||
settings:
|
||||
CPU: AnyCPU
|
||||
- first:
|
||||
Standalone: OSXUniversal
|
||||
second:
|
||||
enabled: 1
|
||||
settings:
|
||||
CPU: AnyCPU
|
||||
- first:
|
||||
Standalone: Win
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
CPU: None
|
||||
- first:
|
||||
Standalone: Win64
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
CPU: AnyCPU
|
||||
- first:
|
||||
Windows Store Apps: WindowsStoreApps
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
CPU: AnyCPU
|
||||
DontProcess: False
|
||||
PlaceholderPath:
|
||||
SDK: AnySDK
|
||||
- first:
|
||||
iPhone: iOS
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
CompileFlags:
|
||||
FrameworkDependencies:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
|
|
|
@ -76,10 +76,12 @@ public partial class DialogueSystem : ScriptableObject
|
|||
|
||||
// get length gives us a value in milliseconds so it needs to be converted to seconds
|
||||
// before assignment
|
||||
dl.duration = ms / 1000f;
|
||||
// dl.duration = ms / 1000f;
|
||||
|
||||
// event is valid
|
||||
FMODUnity.RuntimeManager.PlayOneShot(fmodKey);
|
||||
//FMODUnity.RuntimeManager.PlayOneShot(fmodKey);
|
||||
EventInstance instance = FMODUnity.RuntimeManager.CreateInstance( fmodKey );
|
||||
instance.start();
|
||||
}
|
||||
|
||||
onDialogueLine?.Invoke(this, dl);
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 68ec7a948c4bd2347aa42a978dd08b6d
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Binary file not shown.
|
@ -0,0 +1,9 @@
|
|||
fileFormatVersion: 2
|
||||
guid: ef734c4d663529a4a9d3f68334f64573
|
||||
labels:
|
||||
- FMOD
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Binary file not shown.
|
@ -0,0 +1,9 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 44433d0c998a89540ab96f6023a6fc36
|
||||
labels:
|
||||
- FMOD
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Binary file not shown.
|
@ -0,0 +1,9 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 42349855feb82b04e92fd7822b5bc32e
|
||||
labels:
|
||||
- FMOD
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Binary file not shown.
|
@ -0,0 +1,9 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 73776127b41c0b44b8ddecb1ab36d76b
|
||||
labels:
|
||||
- FMOD
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Binary file not shown.
|
@ -0,0 +1,9 @@
|
|||
fileFormatVersion: 2
|
||||
guid: e46905dc4b9abce4880b72e14154e3ed
|
||||
labels:
|
||||
- FMOD
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
BIN
game/FMOD Project/Build/Desktop/SFX.bank (Stored with Git LFS)
BIN
game/FMOD Project/Build/Desktop/SFX.bank (Stored with Git LFS)
Binary file not shown.
BIN
game/FMOD Project/Build/Desktop/VO.bank (Stored with Git LFS)
BIN
game/FMOD Project/Build/Desktop/VO.bank (Stored with Git LFS)
Binary file not shown.
|
@ -4,6 +4,9 @@
|
|||
<property name="assetPath">
|
||||
<value>VO/TEMP/SD_DASH_3.wav</value>
|
||||
</property>
|
||||
<property name="isStreaming">
|
||||
<value>true</value>
|
||||
</property>
|
||||
<property name="frequencyInKHz">
|
||||
<value>44.0999985</value>
|
||||
</property>
|
||||
|
|
|
@ -4,6 +4,9 @@
|
|||
<property name="assetPath">
|
||||
<value>VO/TEMP/SD_DASH_1.wav</value>
|
||||
</property>
|
||||
<property name="isStreaming">
|
||||
<value>true</value>
|
||||
</property>
|
||||
<property name="frequencyInKHz">
|
||||
<value>44.0999985</value>
|
||||
</property>
|
||||
|
|
|
@ -4,6 +4,9 @@
|
|||
<property name="assetPath">
|
||||
<value>VO/TEMP/SD_DASH_2.wav</value>
|
||||
</property>
|
||||
<property name="isStreaming">
|
||||
<value>true</value>
|
||||
</property>
|
||||
<property name="frequencyInKHz">
|
||||
<value>44.0999985</value>
|
||||
</property>
|
||||
|
|
|
@ -4,6 +4,9 @@
|
|||
<property name="assetPath">
|
||||
<value>VO/TEMP/SD_FIND_WA_0.wav</value>
|
||||
</property>
|
||||
<property name="isStreaming">
|
||||
<value>true</value>
|
||||
</property>
|
||||
<property name="frequencyInKHz">
|
||||
<value>44.0999985</value>
|
||||
</property>
|
||||
|
|
|
@ -4,6 +4,9 @@
|
|||
<property name="assetPath">
|
||||
<value>VO/TEMP/SD_BOOST_0.wav</value>
|
||||
</property>
|
||||
<property name="isStreaming">
|
||||
<value>true</value>
|
||||
</property>
|
||||
<property name="frequencyInKHz">
|
||||
<value>44.0999985</value>
|
||||
</property>
|
||||
|
|
|
@ -4,6 +4,9 @@
|
|||
<property name="assetPath">
|
||||
<value>VO/TEMP/SD_LANDED.wav</value>
|
||||
</property>
|
||||
<property name="isStreaming">
|
||||
<value>true</value>
|
||||
</property>
|
||||
<property name="frequencyInKHz">
|
||||
<value>44.0999985</value>
|
||||
</property>
|
||||
|
|
|
@ -4,6 +4,9 @@
|
|||
<property name="assetPath">
|
||||
<value>VO/TEMP/SD_DASH_0.wav</value>
|
||||
</property>
|
||||
<property name="isStreaming">
|
||||
<value>true</value>
|
||||
</property>
|
||||
<property name="frequencyInKHz">
|
||||
<value>44.0999985</value>
|
||||
</property>
|
||||
|
|
|
@ -4,6 +4,9 @@
|
|||
<property name="assetPath">
|
||||
<value>VO/TEMP/PA_BOOST.wav</value>
|
||||
</property>
|
||||
<property name="isStreaming">
|
||||
<value>true</value>
|
||||
</property>
|
||||
<property name="frequencyInKHz">
|
||||
<value>44.0999985</value>
|
||||
</property>
|
||||
|
|
|
@ -4,6 +4,9 @@
|
|||
<property name="assetPath">
|
||||
<value>VO/TEMP/SD_ALPHA_COMPLETE.wav</value>
|
||||
</property>
|
||||
<property name="isStreaming">
|
||||
<value>true</value>
|
||||
</property>
|
||||
<property name="frequencyInKHz">
|
||||
<value>44.0999985</value>
|
||||
</property>
|
||||
|
|
|
@ -4,6 +4,9 @@
|
|||
<property name="assetPath">
|
||||
<value>VO/TEMP/PA_DASH.wav</value>
|
||||
</property>
|
||||
<property name="isStreaming">
|
||||
<value>true</value>
|
||||
</property>
|
||||
<property name="frequencyInKHz">
|
||||
<value>44.0999985</value>
|
||||
</property>
|
||||
|
|
Loading…
Reference in New Issue