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
|
sourceProjectPath: FMOD Project/Examples.fspro
|
||||||
sourceBankPath: FMOD Project\Build
|
sourceBankPath: FMOD Project\Build
|
||||||
SourceBankPathUnformatted:
|
SourceBankPathUnformatted:
|
||||||
AutomaticEventLoading: 1
|
AutomaticEventLoading: 0
|
||||||
BankLoadType: 0
|
BankLoadType: 1
|
||||||
AutomaticSampleLoading: 0
|
AutomaticSampleLoading: 0
|
||||||
EncryptionKey:
|
EncryptionKey:
|
||||||
ImportType: 0
|
ImportType: 0
|
||||||
|
@ -545,7 +545,12 @@ MonoBehaviour:
|
||||||
- Music
|
- Music
|
||||||
- SFX
|
- SFX
|
||||||
- VO
|
- VO
|
||||||
BanksToLoad: []
|
BanksToLoad:
|
||||||
|
- Master.bank
|
||||||
|
- Master.strings.bank
|
||||||
|
- Music.bank
|
||||||
|
- SFX.bank
|
||||||
|
- VO.bank
|
||||||
LiveUpdatePort: 9264
|
LiveUpdatePort: 9264
|
||||||
EnableMemoryTracking: 0
|
EnableMemoryTracking: 0
|
||||||
AndroidUseOBB: 0
|
AndroidUseOBB: 0
|
||||||
|
@ -738,7 +743,7 @@ MonoBehaviour:
|
||||||
CallbackHandler:
|
CallbackHandler:
|
||||||
Value: {fileID: 0}
|
Value: {fileID: 0}
|
||||||
HasValue: 0
|
HasValue: 0
|
||||||
outputType:
|
outputType: AUTODETECT
|
||||||
threadAffinities:
|
threadAffinities:
|
||||||
Value: []
|
Value: []
|
||||||
HasValue: 0
|
HasValue: 0
|
||||||
|
|
|
@ -1,76 +1,109 @@
|
||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: 8514ea8d6deab804895ec1cab6902681
|
guid: 8514ea8d6deab804895ec1cab6902681
|
||||||
timeCreated: 1429083373
|
|
||||||
licenseType: Store
|
|
||||||
PluginImporter:
|
PluginImporter:
|
||||||
serializedVersion: 1
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
iconMap: {}
|
iconMap: {}
|
||||||
executionOrder: {}
|
executionOrder: {}
|
||||||
|
defineConstraints: []
|
||||||
isPreloaded: 0
|
isPreloaded: 0
|
||||||
|
isOverridable: 0
|
||||||
|
isExplicitlyReferenced: 0
|
||||||
|
validateReferences: 1
|
||||||
platformData:
|
platformData:
|
||||||
Android:
|
- first:
|
||||||
enabled: 0
|
: Linux
|
||||||
settings:
|
second:
|
||||||
CPU: AnyCPU
|
|
||||||
Any:
|
|
||||||
enabled: 0
|
|
||||||
settings: {}
|
|
||||||
Editor:
|
|
||||||
enabled: 1
|
|
||||||
settings:
|
|
||||||
CPU: x86_64
|
|
||||||
DefaultValueInitialized: true
|
|
||||||
OS: Windows
|
|
||||||
Linux:
|
|
||||||
enabled: 1
|
enabled: 1
|
||||||
settings:
|
settings:
|
||||||
CPU: None
|
CPU: None
|
||||||
Linux64:
|
- first:
|
||||||
enabled: 1
|
: LinuxUniversal
|
||||||
settings:
|
second:
|
||||||
CPU: x86_64
|
|
||||||
LinuxUniversal:
|
|
||||||
enabled: 1
|
enabled: 1
|
||||||
settings:
|
settings:
|
||||||
CPU: AnyCPU
|
CPU: AnyCPU
|
||||||
OSXIntel:
|
- first:
|
||||||
|
: OSXIntel
|
||||||
|
second:
|
||||||
enabled: 1
|
enabled: 1
|
||||||
settings:
|
settings:
|
||||||
CPU: None
|
CPU: None
|
||||||
OSXIntel64:
|
- first:
|
||||||
|
: OSXIntel64
|
||||||
|
second:
|
||||||
enabled: 1
|
enabled: 1
|
||||||
settings:
|
settings:
|
||||||
CPU: AnyCPU
|
CPU: AnyCPU
|
||||||
OSXUniversal:
|
- first:
|
||||||
enabled: 1
|
: SamsungTV
|
||||||
settings:
|
second:
|
||||||
CPU: AnyCPU
|
|
||||||
SamsungTV:
|
|
||||||
enabled: 0
|
enabled: 0
|
||||||
settings:
|
settings:
|
||||||
STV_MODEL: STANDARD_13
|
STV_MODEL: STANDARD_13
|
||||||
WP8:
|
- first:
|
||||||
|
: WP8
|
||||||
|
second:
|
||||||
enabled: 0
|
enabled: 0
|
||||||
settings:
|
settings:
|
||||||
CPU: AnyCPU
|
CPU: AnyCPU
|
||||||
DontProcess: False
|
DontProcess: False
|
||||||
PlaceholderPath:
|
PlaceholderPath:
|
||||||
Win:
|
- first:
|
||||||
|
Android: Android
|
||||||
|
second:
|
||||||
enabled: 0
|
enabled: 0
|
||||||
settings:
|
settings:
|
||||||
CPU: None
|
CPU: AnyCPU
|
||||||
Win64:
|
- 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
|
enabled: 1
|
||||||
settings:
|
settings:
|
||||||
CPU: AnyCPU
|
CPU: AnyCPU
|
||||||
WindowsStoreApps:
|
- 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
|
enabled: 0
|
||||||
settings:
|
settings:
|
||||||
CPU: AnyCPU
|
CPU: AnyCPU
|
||||||
DontProcess: False
|
DontProcess: False
|
||||||
PlaceholderPath:
|
PlaceholderPath:
|
||||||
SDK: AnySDK
|
SDK: AnySDK
|
||||||
iOS:
|
- first:
|
||||||
|
iPhone: iOS
|
||||||
|
second:
|
||||||
enabled: 0
|
enabled: 0
|
||||||
settings:
|
settings:
|
||||||
CompileFlags:
|
CompileFlags:
|
||||||
|
|
|
@ -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
|
// get length gives us a value in milliseconds so it needs to be converted to seconds
|
||||||
// before assignment
|
// before assignment
|
||||||
dl.duration = ms / 1000f;
|
// dl.duration = ms / 1000f;
|
||||||
|
|
||||||
// event is valid
|
// event is valid
|
||||||
FMODUnity.RuntimeManager.PlayOneShot(fmodKey);
|
//FMODUnity.RuntimeManager.PlayOneShot(fmodKey);
|
||||||
|
EventInstance instance = FMODUnity.RuntimeManager.CreateInstance( fmodKey );
|
||||||
|
instance.start();
|
||||||
}
|
}
|
||||||
|
|
||||||
onDialogueLine?.Invoke(this, dl);
|
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">
|
<property name="assetPath">
|
||||||
<value>VO/TEMP/SD_DASH_3.wav</value>
|
<value>VO/TEMP/SD_DASH_3.wav</value>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="isStreaming">
|
||||||
|
<value>true</value>
|
||||||
|
</property>
|
||||||
<property name="frequencyInKHz">
|
<property name="frequencyInKHz">
|
||||||
<value>44.0999985</value>
|
<value>44.0999985</value>
|
||||||
</property>
|
</property>
|
||||||
|
|
|
@ -4,6 +4,9 @@
|
||||||
<property name="assetPath">
|
<property name="assetPath">
|
||||||
<value>VO/TEMP/SD_DASH_1.wav</value>
|
<value>VO/TEMP/SD_DASH_1.wav</value>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="isStreaming">
|
||||||
|
<value>true</value>
|
||||||
|
</property>
|
||||||
<property name="frequencyInKHz">
|
<property name="frequencyInKHz">
|
||||||
<value>44.0999985</value>
|
<value>44.0999985</value>
|
||||||
</property>
|
</property>
|
||||||
|
|
|
@ -4,6 +4,9 @@
|
||||||
<property name="assetPath">
|
<property name="assetPath">
|
||||||
<value>VO/TEMP/SD_DASH_2.wav</value>
|
<value>VO/TEMP/SD_DASH_2.wav</value>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="isStreaming">
|
||||||
|
<value>true</value>
|
||||||
|
</property>
|
||||||
<property name="frequencyInKHz">
|
<property name="frequencyInKHz">
|
||||||
<value>44.0999985</value>
|
<value>44.0999985</value>
|
||||||
</property>
|
</property>
|
||||||
|
|
|
@ -4,6 +4,9 @@
|
||||||
<property name="assetPath">
|
<property name="assetPath">
|
||||||
<value>VO/TEMP/SD_FIND_WA_0.wav</value>
|
<value>VO/TEMP/SD_FIND_WA_0.wav</value>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="isStreaming">
|
||||||
|
<value>true</value>
|
||||||
|
</property>
|
||||||
<property name="frequencyInKHz">
|
<property name="frequencyInKHz">
|
||||||
<value>44.0999985</value>
|
<value>44.0999985</value>
|
||||||
</property>
|
</property>
|
||||||
|
|
|
@ -4,6 +4,9 @@
|
||||||
<property name="assetPath">
|
<property name="assetPath">
|
||||||
<value>VO/TEMP/SD_BOOST_0.wav</value>
|
<value>VO/TEMP/SD_BOOST_0.wav</value>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="isStreaming">
|
||||||
|
<value>true</value>
|
||||||
|
</property>
|
||||||
<property name="frequencyInKHz">
|
<property name="frequencyInKHz">
|
||||||
<value>44.0999985</value>
|
<value>44.0999985</value>
|
||||||
</property>
|
</property>
|
||||||
|
|
|
@ -4,6 +4,9 @@
|
||||||
<property name="assetPath">
|
<property name="assetPath">
|
||||||
<value>VO/TEMP/SD_LANDED.wav</value>
|
<value>VO/TEMP/SD_LANDED.wav</value>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="isStreaming">
|
||||||
|
<value>true</value>
|
||||||
|
</property>
|
||||||
<property name="frequencyInKHz">
|
<property name="frequencyInKHz">
|
||||||
<value>44.0999985</value>
|
<value>44.0999985</value>
|
||||||
</property>
|
</property>
|
||||||
|
|
|
@ -4,6 +4,9 @@
|
||||||
<property name="assetPath">
|
<property name="assetPath">
|
||||||
<value>VO/TEMP/SD_DASH_0.wav</value>
|
<value>VO/TEMP/SD_DASH_0.wav</value>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="isStreaming">
|
||||||
|
<value>true</value>
|
||||||
|
</property>
|
||||||
<property name="frequencyInKHz">
|
<property name="frequencyInKHz">
|
||||||
<value>44.0999985</value>
|
<value>44.0999985</value>
|
||||||
</property>
|
</property>
|
||||||
|
|
|
@ -4,6 +4,9 @@
|
||||||
<property name="assetPath">
|
<property name="assetPath">
|
||||||
<value>VO/TEMP/PA_BOOST.wav</value>
|
<value>VO/TEMP/PA_BOOST.wav</value>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="isStreaming">
|
||||||
|
<value>true</value>
|
||||||
|
</property>
|
||||||
<property name="frequencyInKHz">
|
<property name="frequencyInKHz">
|
||||||
<value>44.0999985</value>
|
<value>44.0999985</value>
|
||||||
</property>
|
</property>
|
||||||
|
|
|
@ -4,6 +4,9 @@
|
||||||
<property name="assetPath">
|
<property name="assetPath">
|
||||||
<value>VO/TEMP/SD_ALPHA_COMPLETE.wav</value>
|
<value>VO/TEMP/SD_ALPHA_COMPLETE.wav</value>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="isStreaming">
|
||||||
|
<value>true</value>
|
||||||
|
</property>
|
||||||
<property name="frequencyInKHz">
|
<property name="frequencyInKHz">
|
||||||
<value>44.0999985</value>
|
<value>44.0999985</value>
|
||||||
</property>
|
</property>
|
||||||
|
|
|
@ -4,6 +4,9 @@
|
||||||
<property name="assetPath">
|
<property name="assetPath">
|
||||||
<value>VO/TEMP/PA_DASH.wav</value>
|
<value>VO/TEMP/PA_DASH.wav</value>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="isStreaming">
|
||||||
|
<value>true</value>
|
||||||
|
</property>
|
||||||
<property name="frequencyInKHz">
|
<property name="frequencyInKHz">
|
||||||
<value>44.0999985</value>
|
<value>44.0999985</value>
|
||||||
</property>
|
</property>
|
||||||
|
|
Loading…
Reference in New Issue