- Added some dings and the ACME Crimenet logo.
- Dings now play when revealing answer choices.
This commit is contained in:
parent
6aa533d6a6
commit
dbbdc7625d
@ -11,7 +11,7 @@ AudioImporter:
|
|||||||
compressionFormat: 1
|
compressionFormat: 1
|
||||||
quality: 1
|
quality: 1
|
||||||
conversionMode: 0
|
conversionMode: 0
|
||||||
preloadAudioData: 0
|
preloadAudioData: 1
|
||||||
platformSettingOverrides: {}
|
platformSettingOverrides: {}
|
||||||
forceToMono: 0
|
forceToMono: 0
|
||||||
normalize: 1
|
normalize: 1
|
||||||
|
|||||||
BIN
Assets/Audio/SFX/Ding - A#5.ogg
Normal file
BIN
Assets/Audio/SFX/Ding - A#5.ogg
Normal file
Binary file not shown.
23
Assets/Audio/SFX/Ding - A#5.ogg.meta
Normal file
23
Assets/Audio/SFX/Ding - A#5.ogg.meta
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: c73e1e65b24947b479626ae419424e84
|
||||||
|
AudioImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 7
|
||||||
|
defaultSettings:
|
||||||
|
serializedVersion: 2
|
||||||
|
loadType: 0
|
||||||
|
sampleRateSetting: 0
|
||||||
|
sampleRateOverride: 44100
|
||||||
|
compressionFormat: 1
|
||||||
|
quality: 1
|
||||||
|
conversionMode: 0
|
||||||
|
preloadAudioData: 1
|
||||||
|
platformSettingOverrides: {}
|
||||||
|
forceToMono: 0
|
||||||
|
normalize: 1
|
||||||
|
loadInBackground: 0
|
||||||
|
ambisonic: 0
|
||||||
|
3D: 1
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@ -1825,7 +1825,7 @@ MonoBehaviour:
|
|||||||
m_OnCullStateChanged:
|
m_OnCullStateChanged:
|
||||||
m_PersistentCalls:
|
m_PersistentCalls:
|
||||||
m_Calls: []
|
m_Calls: []
|
||||||
m_text: Placeholder
|
m_text: No questions loaded
|
||||||
m_isRightToLeft: 0
|
m_isRightToLeft: 0
|
||||||
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
|
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
|
||||||
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
|
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
|
||||||
@ -2185,11 +2185,12 @@ MonoBehaviour:
|
|||||||
- {fileID: 1441856225}
|
- {fileID: 1441856225}
|
||||||
- {fileID: 1939958423}
|
- {fileID: 1939958423}
|
||||||
_Answer: {fileID: 90622516}
|
_Answer: {fileID: 90622516}
|
||||||
BuzzerSound: {fileID: 8300000, guid: bc5aa9668b30b7e48a492e3308a2a802, type: 3}
|
_Ding: {fileID: 8300000, guid: c73e1e65b24947b479626ae419424e84, type: 3}
|
||||||
WhereInTheWorld: {fileID: 8300000, guid: e810feeb6c2063747bbb5f735a88bee9, type: 3}
|
_Buzzer: {fileID: 8300000, guid: bc5aa9668b30b7e48a492e3308a2a802, type: 3}
|
||||||
RockapellaIdent: {fileID: 8300000, guid: 3dd54f8dd36092b4d9664c76ccf9ab49, type: 3}
|
_WhereInTheWorld: {fileID: 8300000, guid: e810feeb6c2063747bbb5f735a88bee9, type: 3}
|
||||||
MusicPlayer: {fileID: 379391083}
|
_RockapellaIdent: {fileID: 8300000, guid: 3dd54f8dd36092b4d9664c76ccf9ab49, type: 3}
|
||||||
SFXPlayer: {fileID: 379391083}
|
_MusicPlayer: {fileID: 379391083}
|
||||||
|
_SFXPlayer: {fileID: 379391083}
|
||||||
--- !u!114 &379391082
|
--- !u!114 &379391082
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@ -7108,7 +7109,7 @@ MonoBehaviour:
|
|||||||
m_OnCullStateChanged:
|
m_OnCullStateChanged:
|
||||||
m_PersistentCalls:
|
m_PersistentCalls:
|
||||||
m_Calls: []
|
m_Calls: []
|
||||||
m_text: Location 3
|
m_text:
|
||||||
m_isRightToLeft: 0
|
m_isRightToLeft: 0
|
||||||
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
|
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
|
||||||
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
|
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
|
||||||
@ -7275,7 +7276,7 @@ MonoBehaviour:
|
|||||||
m_OnCullStateChanged:
|
m_OnCullStateChanged:
|
||||||
m_PersistentCalls:
|
m_PersistentCalls:
|
||||||
m_Calls: []
|
m_Calls: []
|
||||||
m_text: Location 2
|
m_text:
|
||||||
m_isRightToLeft: 0
|
m_isRightToLeft: 0
|
||||||
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
|
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
|
||||||
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
|
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
|
||||||
@ -8103,7 +8104,7 @@ MonoBehaviour:
|
|||||||
m_OnCullStateChanged:
|
m_OnCullStateChanged:
|
||||||
m_PersistentCalls:
|
m_PersistentCalls:
|
||||||
m_Calls: []
|
m_Calls: []
|
||||||
m_text: Location 1
|
m_text:
|
||||||
m_isRightToLeft: 0
|
m_isRightToLeft: 0
|
||||||
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
|
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
|
||||||
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
|
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
|
||||||
|
|||||||
BIN
Assets/Textures/T_AcmeCrimenet.png
Normal file
BIN
Assets/Textures/T_AcmeCrimenet.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 456 KiB |
140
Assets/Textures/T_AcmeCrimenet.png.meta
Normal file
140
Assets/Textures/T_AcmeCrimenet.png.meta
Normal file
@ -0,0 +1,140 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 009859374b9fcea4a8d944195a752fee
|
||||||
|
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
|
||||||
|
flipGreenChannel: 0
|
||||||
|
isReadable: 0
|
||||||
|
streamingMipmaps: 0
|
||||||
|
streamingMipmapsPriority: 0
|
||||||
|
vTOnly: 0
|
||||||
|
ignoreMipmapLimit: 0
|
||||||
|
grayScaleToAlpha: 0
|
||||||
|
generateCubemap: 6
|
||||||
|
cubemapConvolution: 0
|
||||||
|
seamlessCubemap: 0
|
||||||
|
textureFormat: 1
|
||||||
|
maxTextureSize: 2048
|
||||||
|
textureSettings:
|
||||||
|
serializedVersion: 2
|
||||||
|
filterMode: 1
|
||||||
|
aniso: 1
|
||||||
|
mipBias: 0
|
||||||
|
wrapU: 0
|
||||||
|
wrapV: 0
|
||||||
|
wrapW: 0
|
||||||
|
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: 0
|
||||||
|
swizzle: 50462976
|
||||||
|
cookieLightType: 0
|
||||||
|
platformSettings:
|
||||||
|
- serializedVersion: 3
|
||||||
|
buildTarget: DefaultTexturePlatform
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 3
|
||||||
|
compressionQuality: 70
|
||||||
|
crunchedCompression: 1
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
ignorePlatformSupport: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
- serializedVersion: 3
|
||||||
|
buildTarget: Standalone
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
ignorePlatformSupport: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
- serializedVersion: 3
|
||||||
|
buildTarget: iPhone
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
ignorePlatformSupport: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
- serializedVersion: 3
|
||||||
|
buildTarget: Android
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
ignorePlatformSupport: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
spriteSheet:
|
||||||
|
serializedVersion: 2
|
||||||
|
sprites: []
|
||||||
|
outline: []
|
||||||
|
physicsShape: []
|
||||||
|
bones: []
|
||||||
|
spriteID:
|
||||||
|
internalID: 0
|
||||||
|
vertices: []
|
||||||
|
indices:
|
||||||
|
edges: []
|
||||||
|
weights: []
|
||||||
|
secondaryTextures: []
|
||||||
|
nameFileIdTable: {}
|
||||||
|
mipmapLimitGroupName:
|
||||||
|
pSDRemoveMatte: 0
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@ -44,19 +44,19 @@ MonoBehaviour:
|
|||||||
Data:
|
Data:
|
||||||
- Name:
|
- Name:
|
||||||
Entry: 12
|
Entry: 12
|
||||||
Data: 20
|
Data: 21
|
||||||
- Name:
|
- Name:
|
||||||
Entry: 7
|
Entry: 7
|
||||||
Data:
|
Data:
|
||||||
- Name: $k
|
- Name: $k
|
||||||
Entry: 1
|
Entry: 1
|
||||||
Data: BuzzInAllowed
|
Data: _BuzzInAllowed
|
||||||
- Name: $v
|
- Name: $v
|
||||||
Entry: 7
|
Entry: 7
|
||||||
Data: 2|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
|
Data: 2|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
|
||||||
- Name: <Name>k__BackingField
|
- Name: <Name>k__BackingField
|
||||||
Entry: 1
|
Entry: 1
|
||||||
Data: BuzzInAllowed
|
Data: _BuzzInAllowed
|
||||||
- Name: <UserType>k__BackingField
|
- Name: <UserType>k__BackingField
|
||||||
Entry: 7
|
Entry: 7
|
||||||
Data: 3|System.RuntimeType, mscorlib
|
Data: 3|System.RuntimeType, mscorlib
|
||||||
@ -110,13 +110,13 @@ MonoBehaviour:
|
|||||||
Data:
|
Data:
|
||||||
- Name: $k
|
- Name: $k
|
||||||
Entry: 1
|
Entry: 1
|
||||||
Data: PlayerBuzzInAllowed
|
Data: _PlayerBuzzInAllowed
|
||||||
- Name: $v
|
- Name: $v
|
||||||
Entry: 7
|
Entry: 7
|
||||||
Data: 6|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
|
Data: 6|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
|
||||||
- Name: <Name>k__BackingField
|
- Name: <Name>k__BackingField
|
||||||
Entry: 1
|
Entry: 1
|
||||||
Data: PlayerBuzzInAllowed
|
Data: _PlayerBuzzInAllowed
|
||||||
- Name: <UserType>k__BackingField
|
- Name: <UserType>k__BackingField
|
||||||
Entry: 7
|
Entry: 7
|
||||||
Data: 7|System.RuntimeType, mscorlib
|
Data: 7|System.RuntimeType, mscorlib
|
||||||
@ -911,13 +911,13 @@ MonoBehaviour:
|
|||||||
Data:
|
Data:
|
||||||
- Name: $k
|
- Name: $k
|
||||||
Entry: 1
|
Entry: 1
|
||||||
Data: BuzzerSound
|
Data: _Ding
|
||||||
- Name: $v
|
- Name: $v
|
||||||
Entry: 7
|
Entry: 7
|
||||||
Data: 55|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
|
Data: 55|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
|
||||||
- Name: <Name>k__BackingField
|
- Name: <Name>k__BackingField
|
||||||
Entry: 1
|
Entry: 1
|
||||||
Data: BuzzerSound
|
Data: _Ding
|
||||||
- Name: <UserType>k__BackingField
|
- Name: <UserType>k__BackingField
|
||||||
Entry: 7
|
Entry: 7
|
||||||
Data: 56|System.RuntimeType, mscorlib
|
Data: 56|System.RuntimeType, mscorlib
|
||||||
@ -980,13 +980,13 @@ MonoBehaviour:
|
|||||||
Data:
|
Data:
|
||||||
- Name: $k
|
- Name: $k
|
||||||
Entry: 1
|
Entry: 1
|
||||||
Data: WhereInTheWorld
|
Data: _Buzzer
|
||||||
- Name: $v
|
- Name: $v
|
||||||
Entry: 7
|
Entry: 7
|
||||||
Data: 60|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
|
Data: 60|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
|
||||||
- Name: <Name>k__BackingField
|
- Name: <Name>k__BackingField
|
||||||
Entry: 1
|
Entry: 1
|
||||||
Data: WhereInTheWorld
|
Data: _Buzzer
|
||||||
- Name: <UserType>k__BackingField
|
- Name: <UserType>k__BackingField
|
||||||
Entry: 9
|
Entry: 9
|
||||||
Data: 56
|
Data: 56
|
||||||
@ -1034,13 +1034,13 @@ MonoBehaviour:
|
|||||||
Data:
|
Data:
|
||||||
- Name: $k
|
- Name: $k
|
||||||
Entry: 1
|
Entry: 1
|
||||||
Data: RockapellaIdent
|
Data: _WhereInTheWorld
|
||||||
- Name: $v
|
- Name: $v
|
||||||
Entry: 7
|
Entry: 7
|
||||||
Data: 63|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
|
Data: 63|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
|
||||||
- Name: <Name>k__BackingField
|
- Name: <Name>k__BackingField
|
||||||
Entry: 1
|
Entry: 1
|
||||||
Data: RockapellaIdent
|
Data: _WhereInTheWorld
|
||||||
- Name: <UserType>k__BackingField
|
- Name: <UserType>k__BackingField
|
||||||
Entry: 9
|
Entry: 9
|
||||||
Data: 56
|
Data: 56
|
||||||
@ -1088,25 +1088,19 @@ MonoBehaviour:
|
|||||||
Data:
|
Data:
|
||||||
- Name: $k
|
- Name: $k
|
||||||
Entry: 1
|
Entry: 1
|
||||||
Data: MusicPlayer
|
Data: _RockapellaIdent
|
||||||
- Name: $v
|
- Name: $v
|
||||||
Entry: 7
|
Entry: 7
|
||||||
Data: 66|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
|
Data: 66|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
|
||||||
- Name: <Name>k__BackingField
|
- Name: <Name>k__BackingField
|
||||||
Entry: 1
|
Entry: 1
|
||||||
Data: MusicPlayer
|
Data: _RockapellaIdent
|
||||||
- Name: <UserType>k__BackingField
|
- Name: <UserType>k__BackingField
|
||||||
Entry: 7
|
Entry: 9
|
||||||
Data: 67|System.RuntimeType, mscorlib
|
Data: 56
|
||||||
- Name:
|
|
||||||
Entry: 1
|
|
||||||
Data: UnityEngine.AudioSource, UnityEngine.AudioModule
|
|
||||||
- Name:
|
|
||||||
Entry: 8
|
|
||||||
Data:
|
|
||||||
- Name: <SystemType>k__BackingField
|
- Name: <SystemType>k__BackingField
|
||||||
Entry: 9
|
Entry: 9
|
||||||
Data: 67
|
Data: 56
|
||||||
- Name: <SyncMode>k__BackingField
|
- Name: <SyncMode>k__BackingField
|
||||||
Entry: 7
|
Entry: 7
|
||||||
Data: System.Nullable`1[[UdonSharp.UdonSyncMode, UdonSharp.Runtime]], mscorlib
|
Data: System.Nullable`1[[UdonSharp.UdonSyncMode, UdonSharp.Runtime]], mscorlib
|
||||||
@ -1121,13 +1115,13 @@ MonoBehaviour:
|
|||||||
Data: true
|
Data: true
|
||||||
- Name: _fieldAttributes
|
- Name: _fieldAttributes
|
||||||
Entry: 7
|
Entry: 7
|
||||||
Data: 68|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib
|
Data: 67|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib
|
||||||
- Name:
|
- Name:
|
||||||
Entry: 12
|
Entry: 12
|
||||||
Data: 1
|
Data: 1
|
||||||
- Name:
|
- Name:
|
||||||
Entry: 7
|
Entry: 7
|
||||||
Data: 69|UnityEngine.SerializeField, UnityEngine.CoreModule
|
Data: 68|UnityEngine.SerializeField, UnityEngine.CoreModule
|
||||||
- Name:
|
- Name:
|
||||||
Entry: 8
|
Entry: 8
|
||||||
Data:
|
Data:
|
||||||
@ -1148,19 +1142,25 @@ MonoBehaviour:
|
|||||||
Data:
|
Data:
|
||||||
- Name: $k
|
- Name: $k
|
||||||
Entry: 1
|
Entry: 1
|
||||||
Data: SFXPlayer
|
Data: _MusicPlayer
|
||||||
- Name: $v
|
- Name: $v
|
||||||
Entry: 7
|
Entry: 7
|
||||||
Data: 70|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
|
Data: 69|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
|
||||||
- Name: <Name>k__BackingField
|
- Name: <Name>k__BackingField
|
||||||
Entry: 1
|
Entry: 1
|
||||||
Data: SFXPlayer
|
Data: _MusicPlayer
|
||||||
- Name: <UserType>k__BackingField
|
- Name: <UserType>k__BackingField
|
||||||
Entry: 9
|
Entry: 7
|
||||||
Data: 67
|
Data: 70|System.RuntimeType, mscorlib
|
||||||
|
- Name:
|
||||||
|
Entry: 1
|
||||||
|
Data: UnityEngine.AudioSource, UnityEngine.AudioModule
|
||||||
|
- Name:
|
||||||
|
Entry: 8
|
||||||
|
Data:
|
||||||
- Name: <SystemType>k__BackingField
|
- Name: <SystemType>k__BackingField
|
||||||
Entry: 9
|
Entry: 9
|
||||||
Data: 67
|
Data: 70
|
||||||
- Name: <SyncMode>k__BackingField
|
- Name: <SyncMode>k__BackingField
|
||||||
Entry: 7
|
Entry: 7
|
||||||
Data: System.Nullable`1[[UdonSharp.UdonSyncMode, UdonSharp.Runtime]], mscorlib
|
Data: System.Nullable`1[[UdonSharp.UdonSyncMode, UdonSharp.Runtime]], mscorlib
|
||||||
@ -1197,6 +1197,60 @@ MonoBehaviour:
|
|||||||
- Name:
|
- Name:
|
||||||
Entry: 8
|
Entry: 8
|
||||||
Data:
|
Data:
|
||||||
|
- Name:
|
||||||
|
Entry: 7
|
||||||
|
Data:
|
||||||
|
- Name: $k
|
||||||
|
Entry: 1
|
||||||
|
Data: _SFXPlayer
|
||||||
|
- Name: $v
|
||||||
|
Entry: 7
|
||||||
|
Data: 73|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
|
||||||
|
- Name: <Name>k__BackingField
|
||||||
|
Entry: 1
|
||||||
|
Data: _SFXPlayer
|
||||||
|
- Name: <UserType>k__BackingField
|
||||||
|
Entry: 9
|
||||||
|
Data: 70
|
||||||
|
- Name: <SystemType>k__BackingField
|
||||||
|
Entry: 9
|
||||||
|
Data: 70
|
||||||
|
- Name: <SyncMode>k__BackingField
|
||||||
|
Entry: 7
|
||||||
|
Data: System.Nullable`1[[UdonSharp.UdonSyncMode, UdonSharp.Runtime]], mscorlib
|
||||||
|
- Name:
|
||||||
|
Entry: 6
|
||||||
|
Data:
|
||||||
|
- Name:
|
||||||
|
Entry: 8
|
||||||
|
Data:
|
||||||
|
- Name: <IsSerialized>k__BackingField
|
||||||
|
Entry: 5
|
||||||
|
Data: true
|
||||||
|
- Name: _fieldAttributes
|
||||||
|
Entry: 7
|
||||||
|
Data: 74|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib
|
||||||
|
- Name:
|
||||||
|
Entry: 12
|
||||||
|
Data: 1
|
||||||
|
- Name:
|
||||||
|
Entry: 7
|
||||||
|
Data: 75|UnityEngine.SerializeField, UnityEngine.CoreModule
|
||||||
|
- Name:
|
||||||
|
Entry: 8
|
||||||
|
Data:
|
||||||
|
- Name:
|
||||||
|
Entry: 13
|
||||||
|
Data:
|
||||||
|
- Name:
|
||||||
|
Entry: 8
|
||||||
|
Data:
|
||||||
|
- Name:
|
||||||
|
Entry: 8
|
||||||
|
Data:
|
||||||
|
- Name:
|
||||||
|
Entry: 8
|
||||||
|
Data:
|
||||||
- Name:
|
- Name:
|
||||||
Entry: 13
|
Entry: 13
|
||||||
Data:
|
Data:
|
||||||
|
|||||||
@ -32,6 +32,7 @@ public enum MusicEventType
|
|||||||
public enum SFXEventType
|
public enum SFXEventType
|
||||||
{
|
{
|
||||||
None,
|
None,
|
||||||
|
Ding,
|
||||||
Buzzer
|
Buzzer
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -39,8 +40,8 @@ public enum SFXEventType
|
|||||||
[UdonBehaviourSyncMode(BehaviourSyncMode.Manual)]
|
[UdonBehaviourSyncMode(BehaviourSyncMode.Manual)]
|
||||||
public class GameManager : UdonSharpBehaviour
|
public class GameManager : UdonSharpBehaviour
|
||||||
{
|
{
|
||||||
[UdonSynced] private bool BuzzInAllowed = false;
|
[UdonSynced] private bool _BuzzInAllowed = false;
|
||||||
[UdonSynced] private bool[] PlayerBuzzInAllowed;
|
[UdonSynced] private bool[] _PlayerBuzzInAllowed;
|
||||||
[UdonSynced] private int _BuzzedInPlayer = 0;
|
[UdonSynced] private int _BuzzedInPlayer = 0;
|
||||||
|
|
||||||
private DataList _QuestionsList = new DataList();
|
private DataList _QuestionsList = new DataList();
|
||||||
@ -61,17 +62,18 @@ public class GameManager : UdonSharpBehaviour
|
|||||||
[SerializeField] private TextMeshProUGUI _Answer;
|
[SerializeField] private TextMeshProUGUI _Answer;
|
||||||
|
|
||||||
[Header("Audio")]
|
[Header("Audio")]
|
||||||
[SerializeField] private AudioClip BuzzerSound = null;
|
[SerializeField] private AudioClip _Ding = null;
|
||||||
|
[SerializeField] private AudioClip _Buzzer = null;
|
||||||
|
|
||||||
[SerializeField] private AudioClip WhereInTheWorld = null;
|
[SerializeField] private AudioClip _WhereInTheWorld = null;
|
||||||
[SerializeField] private AudioClip RockapellaIdent = null;
|
[SerializeField] private AudioClip _RockapellaIdent = null;
|
||||||
|
|
||||||
[SerializeField] private AudioSource MusicPlayer = null;
|
[SerializeField] private AudioSource _MusicPlayer = null;
|
||||||
[SerializeField] private AudioSource SFXPlayer = null;
|
[SerializeField] private AudioSource _SFXPlayer = null;
|
||||||
|
|
||||||
void Start()
|
void Start()
|
||||||
{
|
{
|
||||||
PlayerBuzzInAllowed = new bool[PlayerPodiums.Length];
|
_PlayerBuzzInAllowed = new bool[PlayerPodiums.Length];
|
||||||
ResetBuzzers();
|
ResetBuzzers();
|
||||||
|
|
||||||
// Download our test question.
|
// Download our test question.
|
||||||
@ -104,7 +106,7 @@ public class GameManager : UdonSharpBehaviour
|
|||||||
|
|
||||||
_CurrentQuestion = _QuestionsList[0].DataDictionary;
|
_CurrentQuestion = _QuestionsList[0].DataDictionary;
|
||||||
|
|
||||||
Debug.Log("Found " + _QuestionsList.Count + " questions in this case file.");
|
_InfoHeader.text = "Found " + _QuestionsList.Count + " questions in this case file.";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -143,10 +145,14 @@ public class GameManager : UdonSharpBehaviour
|
|||||||
public void MultipleChoiceRevealChoice1()
|
public void MultipleChoiceRevealChoice1()
|
||||||
{
|
{
|
||||||
_InfoChoiceButtons[0].color = (_QuestionCorrectResponse == 1) ? Color.green : Color.red;
|
_InfoChoiceButtons[0].color = (_QuestionCorrectResponse == 1) ? Color.green : Color.red;
|
||||||
|
|
||||||
|
SendCustomNetworkEvent(NetworkEventTarget.All, nameof(PlaySFXAtPitch), SFXEventType.Ding, 1.0f);
|
||||||
}
|
}
|
||||||
public void MultipleChoiceRevealChoice2()
|
public void MultipleChoiceRevealChoice2()
|
||||||
{
|
{
|
||||||
_InfoChoiceButtons[1].color = (_QuestionCorrectResponse == 2) ? Color.green : Color.red;
|
_InfoChoiceButtons[1].color = (_QuestionCorrectResponse == 2) ? Color.green : Color.red;
|
||||||
|
|
||||||
|
SendCustomNetworkEvent(NetworkEventTarget.All, nameof(PlaySFXAtPitch), SFXEventType.Ding, 1.1224566408889556272993467978076f);
|
||||||
}
|
}
|
||||||
public void MultipleChoiceRevealChoice3()
|
public void MultipleChoiceRevealChoice3()
|
||||||
{
|
{
|
||||||
@ -177,6 +183,8 @@ public class GameManager : UdonSharpBehaviour
|
|||||||
NetworkCalling.SendCustomNetworkEvent((IUdonEventReceiver)PlayerPodiums[i], NetworkEventTarget.All, "SetCardChoices", ChoiceStrings, ChoiceOrder);
|
NetworkCalling.SendCustomNetworkEvent((IUdonEventReceiver)PlayerPodiums[i], NetworkEventTarget.All, "SetCardChoices", ChoiceStrings, ChoiceOrder);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SendCustomNetworkEvent(NetworkEventTarget.All, nameof(PlaySFXAtPitch), SFXEventType.Ding, 1.2599186983149743116707603530939f);
|
||||||
|
|
||||||
EnableInteraction("Lock Answers");
|
EnableInteraction("Lock Answers");
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -275,7 +283,7 @@ public class GameManager : UdonSharpBehaviour
|
|||||||
|
|
||||||
public void EnableBuzzInPeriodForAllPlayers()
|
public void EnableBuzzInPeriodForAllPlayers()
|
||||||
{
|
{
|
||||||
BuzzInAllowed = true;
|
_BuzzInAllowed = true;
|
||||||
ResetBuzzers();
|
ResetBuzzers();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -283,11 +291,11 @@ public class GameManager : UdonSharpBehaviour
|
|||||||
public void PlayerBuzzedIn(int PlayerNumber)
|
public void PlayerBuzzedIn(int PlayerNumber)
|
||||||
{
|
{
|
||||||
int PlayerIndex = PlayerNumber - 1;
|
int PlayerIndex = PlayerNumber - 1;
|
||||||
if (!BuzzInAllowed || !PlayerBuzzInAllowed[PlayerIndex]) { return; }
|
if (!_BuzzInAllowed || !_PlayerBuzzInAllowed[PlayerIndex]) { return; }
|
||||||
|
|
||||||
// Prevent new buzz-ins and store which player is currently buzzed in.
|
// Prevent new buzz-ins and store which player is currently buzzed in.
|
||||||
BuzzInAllowed = false;
|
_BuzzInAllowed = false;
|
||||||
PlayerBuzzInAllowed[PlayerIndex] = false;
|
_PlayerBuzzInAllowed[PlayerIndex] = false;
|
||||||
_BuzzedInPlayer = PlayerNumber;
|
_BuzzedInPlayer = PlayerNumber;
|
||||||
RequestSerialization();
|
RequestSerialization();
|
||||||
|
|
||||||
@ -301,7 +309,7 @@ public class GameManager : UdonSharpBehaviour
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void WaitForBuzzInsWithoutLastPlayer() {
|
public void WaitForBuzzInsWithoutLastPlayer() {
|
||||||
BuzzInAllowed = true;
|
_BuzzInAllowed = true;
|
||||||
NetworkCalling.SendCustomNetworkEvent(
|
NetworkCalling.SendCustomNetworkEvent(
|
||||||
(IUdonEventReceiver)PlayerPodiums[_BuzzedInPlayer - 1],
|
(IUdonEventReceiver)PlayerPodiums[_BuzzedInPlayer - 1],
|
||||||
NetworkEventTarget.All,
|
NetworkEventTarget.All,
|
||||||
@ -312,13 +320,13 @@ public class GameManager : UdonSharpBehaviour
|
|||||||
|
|
||||||
public void EndBuzzInPeriod()
|
public void EndBuzzInPeriod()
|
||||||
{
|
{
|
||||||
BuzzInAllowed = false;
|
_BuzzInAllowed = false;
|
||||||
ResetBuzzers();
|
ResetBuzzers();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void ResetBuzzers()
|
public void ResetBuzzers()
|
||||||
{
|
{
|
||||||
for (int i = 0; i < PlayerPodiums.Length; i++) { PlayerBuzzInAllowed[i] = true; }
|
for (int i = 0; i < PlayerPodiums.Length; i++) { _PlayerBuzzInAllowed[i] = true; }
|
||||||
_BuzzedInPlayer = -1;
|
_BuzzedInPlayer = -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -362,33 +370,45 @@ public class GameManager : UdonSharpBehaviour
|
|||||||
[NetworkCallable]
|
[NetworkCallable]
|
||||||
public void PlayMusic(MusicEventType MusicEvent)
|
public void PlayMusic(MusicEventType MusicEvent)
|
||||||
{
|
{
|
||||||
MusicPlayer.Stop();
|
_MusicPlayer.Stop();
|
||||||
|
|
||||||
switch (MusicEvent)
|
switch (MusicEvent)
|
||||||
{
|
{
|
||||||
case MusicEventType.WhereInTheWorld: MusicPlayer.clip = WhereInTheWorld; break;
|
case MusicEventType.WhereInTheWorld: _MusicPlayer.clip = _WhereInTheWorld; break;
|
||||||
case MusicEventType.RockapellaIdent: MusicPlayer.clip = RockapellaIdent; break;
|
case MusicEventType.RockapellaIdent: _MusicPlayer.clip = _RockapellaIdent; break;
|
||||||
default: MusicPlayer.clip = null; break;
|
default: _MusicPlayer.clip = null; break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (MusicPlayer.clip != null)
|
if (_MusicPlayer.clip != null)
|
||||||
MusicPlayer.Play();
|
_MusicPlayer.Play();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
[NetworkCallable]
|
[NetworkCallable]
|
||||||
public void PlaySFX(SFXEventType SFXEvent)
|
public void PlaySFX(SFXEventType SFXEvent)
|
||||||
{
|
{
|
||||||
SFXPlayer.Stop();
|
PlaySFXInternal(SFXEvent);
|
||||||
|
}
|
||||||
|
[NetworkCallable]
|
||||||
|
public void PlaySFXAtPitch(SFXEventType SFXEvent, float Pitch)
|
||||||
|
{
|
||||||
|
PlaySFXInternal(SFXEvent, Pitch);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void PlaySFXInternal(SFXEventType SFXEvent, float Pitch = 1.0f)
|
||||||
|
{
|
||||||
|
_SFXPlayer.Stop();
|
||||||
|
|
||||||
switch (SFXEvent)
|
switch (SFXEvent)
|
||||||
{
|
{
|
||||||
case SFXEventType.Buzzer: SFXPlayer.clip = BuzzerSound; break;
|
case SFXEventType.Ding: _SFXPlayer.clip = _Ding; break;
|
||||||
default: SFXPlayer.clip = null; break;
|
case SFXEventType.Buzzer: _SFXPlayer.clip = _Buzzer; break;
|
||||||
|
default: _SFXPlayer.clip = null; break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (SFXPlayer.clip != null)
|
if (_SFXPlayer.clip != null)
|
||||||
SFXPlayer.Play();
|
_SFXPlayer.pitch = Pitch;
|
||||||
|
_SFXPlayer.Play();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
BIN
Raw Files/ACME Crimenet Logo.xcf
Normal file
BIN
Raw Files/ACME Crimenet Logo.xcf
Normal file
Binary file not shown.
BIN
Raw Files/SFX/Ding - A#5.aup3
Normal file
BIN
Raw Files/SFX/Ding - A#5.aup3
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user