Replaced all temp audio files with the proper ones as well as adding a respawn noise to various instances

This commit is contained in:
Gregory Campbell
2020-02-08 22:52:46 -05:00
parent f004ea6203
commit 92ed104454
20 changed files with 664 additions and 5 deletions
Binary file not shown.
@@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: f7fa597afbf43fb4ea20b9e8fe2132f0
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:
Binary file not shown.
@@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: a74cbbb36fb6ee746ab0133de00791e5
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: 55b18f02130329842af7a59ed9f37ee5
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:
Binary file not shown.
@@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: bfbd1fc4fd960084ca2d72011438833f
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:
Binary file not shown.
@@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: e755dab702310af439189d99003076fc
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:
Binary file not shown.
+22
View File
@@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: 8164296204dad3745a2e5822b86c44b2
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:
+131 -1
View File
@@ -2077,7 +2077,7 @@ AudioSource:
serializedVersion: 4
OutputAudioMixerGroup: {fileID: 24300002, guid: c562f0bc9014ba4489c7824cbca29029,
type: 2}
m_audioClip: {fileID: 8300000, guid: 39e98e9faa26b564185be9b6d4d30c28, type: 3}
m_audioClip: {fileID: 8300000, guid: 55b18f02130329842af7a59ed9f37ee5, type: 3}
m_PlayOnAwake: 1
m_Volume: 1
m_Pitch: 1
@@ -2574,6 +2574,7 @@ MonoBehaviour:
pivot: {fileID: 1339349186}
playerModel: {fileID: 1573414419}
jumpNoise: {fileID: 546058364}
respawnNoise: {fileID: 1853924296}
respawnTime: 0
--- !u!143 &1644583841
CharacterController:
@@ -2666,6 +2667,7 @@ Transform:
m_Children:
- {fileID: 1573414423}
- {fileID: 546058365}
- {fileID: 1853924297}
m_Father: {fileID: 0}
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
@@ -2824,6 +2826,134 @@ Transform:
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1853924295
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1853924297}
- component: {fileID: 1853924296}
m_Layer: 0
m_Name: RespawnSound
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!82 &1853924296
AudioSource:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1853924295}
m_Enabled: 1
serializedVersion: 4
OutputAudioMixerGroup: {fileID: 24300002, guid: c562f0bc9014ba4489c7824cbca29029,
type: 2}
m_audioClip: {fileID: 8300000, guid: 8164296204dad3745a2e5822b86c44b2, type: 3}
m_PlayOnAwake: 0
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: 0
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!4 &1853924297
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1853924295}
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_Children: []
m_Father: {fileID: 1644583845}
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &2032483823
GameObject:
m_ObjectHideFlags: 0
+131 -1
View File
@@ -526,6 +526,134 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 37493289}
m_CullTransparentMesh: 0
--- !u!1 &54133629
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 54133631}
- component: {fileID: 54133630}
m_Layer: 0
m_Name: RespawnSound
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!82 &54133630
AudioSource:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 54133629}
m_Enabled: 1
serializedVersion: 4
OutputAudioMixerGroup: {fileID: 24300002, guid: c562f0bc9014ba4489c7824cbca29029,
type: 2}
m_audioClip: {fileID: 8300000, guid: 8164296204dad3745a2e5822b86c44b2, type: 3}
m_PlayOnAwake: 0
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: 0
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!4 &54133631
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 54133629}
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_Children: []
m_Father: {fileID: 741217456}
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &123575891
GameObject:
m_ObjectHideFlags: 0
@@ -4007,6 +4135,7 @@ Transform:
m_Children:
- {fileID: 615882419}
- {fileID: 519269292}
- {fileID: 54133631}
m_Father: {fileID: 0}
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
@@ -4034,6 +4163,7 @@ MonoBehaviour:
pivot: {fileID: 1402695046}
playerModel: {fileID: 615882415}
jumpNoise: {fileID: 519269293}
respawnNoise: {fileID: 54133630}
respawnTime: 0
--- !u!143 &741217458
CharacterController:
@@ -8649,7 +8779,7 @@ AudioSource:
serializedVersion: 4
OutputAudioMixerGroup: {fileID: 24300002, guid: c562f0bc9014ba4489c7824cbca29029,
type: 2}
m_audioClip: {fileID: 8300000, guid: 39e98e9faa26b564185be9b6d4d30c28, type: 3}
m_audioClip: {fileID: 8300000, guid: bfbd1fc4fd960084ca2d72011438833f, type: 3}
m_PlayOnAwake: 1
m_Volume: 1
m_Pitch: 1
+131 -1
View File
@@ -660,6 +660,134 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 484334937}
m_CullTransparentMesh: 0
--- !u!1 &526425756
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 526425758}
- component: {fileID: 526425757}
m_Layer: 0
m_Name: RespawnSound
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!82 &526425757
AudioSource:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 526425756}
m_Enabled: 1
serializedVersion: 4
OutputAudioMixerGroup: {fileID: 24300002, guid: c562f0bc9014ba4489c7824cbca29029,
type: 2}
m_audioClip: {fileID: 8300000, guid: 8164296204dad3745a2e5822b86c44b2, type: 3}
m_PlayOnAwake: 0
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: 0
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!4 &526425758
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 526425756}
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_Children: []
m_Father: {fileID: 1885424384}
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &664696628
GameObject:
m_ObjectHideFlags: 0
@@ -1669,7 +1797,7 @@ AudioSource:
serializedVersion: 4
OutputAudioMixerGroup: {fileID: 24300002, guid: c562f0bc9014ba4489c7824cbca29029,
type: 2}
m_audioClip: {fileID: 8300000, guid: 7dea4267b47263b4ba9f2b581cc246b2, type: 3}
m_audioClip: {fileID: 8300000, guid: f7fa597afbf43fb4ea20b9e8fe2132f0, type: 3}
m_PlayOnAwake: 1
m_Volume: 1
m_Pitch: 1
@@ -2792,6 +2920,7 @@ MonoBehaviour:
pivot: {fileID: 306905843}
playerModel: {fileID: 1179584401}
jumpNoise: {fileID: 2115917840}
respawnNoise: {fileID: 526425757}
respawnTime: 0
--- !u!143 &1885424380
CharacterController:
@@ -2884,6 +3013,7 @@ Transform:
m_Children:
- {fileID: 1179584405}
- {fileID: 2115917841}
- {fileID: 526425758}
m_Father: {fileID: 0}
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+1 -1
View File
@@ -1103,7 +1103,7 @@ AudioSource:
serializedVersion: 4
OutputAudioMixerGroup: {fileID: 24300002, guid: c562f0bc9014ba4489c7824cbca29029,
type: 2}
m_audioClip: {fileID: 8300000, guid: 2fbf7b198c1b74448985006a14763e1d, type: 3}
m_audioClip: {fileID: 8300000, guid: e755dab702310af439189d99003076fc, type: 3}
m_PlayOnAwake: 1
m_Volume: 1
m_Pitch: 1
+131 -1
View File
@@ -762,7 +762,7 @@ AudioSource:
serializedVersion: 4
OutputAudioMixerGroup: {fileID: 24300002, guid: c562f0bc9014ba4489c7824cbca29029,
type: 2}
m_audioClip: {fileID: 8300000, guid: 39e98e9faa26b564185be9b6d4d30c28, type: 3}
m_audioClip: {fileID: 8300000, guid: a74cbbb36fb6ee746ab0133de00791e5, type: 3}
m_PlayOnAwake: 1
m_Volume: 1
m_Pitch: 1
@@ -2176,6 +2176,134 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 0ec20ff07b99aab4d93f5e1c41a819dc, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1 &1436563778
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1436563780}
- component: {fileID: 1436563779}
m_Layer: 0
m_Name: RespawnSound
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!82 &1436563779
AudioSource:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1436563778}
m_Enabled: 1
serializedVersion: 4
OutputAudioMixerGroup: {fileID: 24300002, guid: c562f0bc9014ba4489c7824cbca29029,
type: 2}
m_audioClip: {fileID: 8300000, guid: 8164296204dad3745a2e5822b86c44b2, type: 3}
m_PlayOnAwake: 0
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: 0
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!4 &1436563780
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1436563778}
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_Children: []
m_Father: {fileID: 1759649041}
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1486058019
GameObject:
m_ObjectHideFlags: 0
@@ -2541,6 +2669,7 @@ MonoBehaviour:
pivot: {fileID: 677662898}
playerModel: {fileID: 392444983}
jumpNoise: {fileID: 1860511536}
respawnNoise: {fileID: 1436563779}
respawnTime: 0
--- !u!143 &1759649037
CharacterController:
@@ -2633,6 +2762,7 @@ Transform:
m_Children:
- {fileID: 392444987}
- {fileID: 1860511537}
- {fileID: 1436563780}
m_Father: {fileID: 0}
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+7
View File
@@ -26,6 +26,7 @@ public class PlayerController : MonoBehaviour
public Transform pivot;
public GameObject playerModel;
public AudioSource jumpNoise;
public AudioSource respawnNoise;
private bool wallRunning = false;
private bool diving = false;
@@ -86,6 +87,7 @@ public class PlayerController : MonoBehaviour
finished = true;
respawnTime = Time.time;
respawnNoise.Play();
}
if(hit.gameObject.tag == "Waypoint")
@@ -93,6 +95,7 @@ public class PlayerController : MonoBehaviour
finished = true;
respawnTime = Time.time;
respawnNoise.Play();
}
@@ -100,18 +103,21 @@ public class PlayerController : MonoBehaviour
{
SceneManager.LoadScene("Floor Level", LoadSceneMode.Single);
respawnTime = Time.time;
respawnNoise.Play();
}
if(hit.gameObject.tag == "Waypoint Portal")
{
SceneManager.LoadScene("Waypoint Race", LoadSceneMode.Single);
respawnTime = Time.time;
respawnNoise.Play();
}
if(hit.gameObject.tag == "Infinite Portal")
{
SceneManager.LoadScene("Infinity Runner", LoadSceneMode.Single);
respawnTime = Time.time;
respawnNoise.Play();
}
}
@@ -131,6 +137,7 @@ public class PlayerController : MonoBehaviour
respawn = true;
respawnTime = Time.time;
shownLives--;
respawnNoise.Play();
if (SceneManager.GetActiveScene().name == "Hub World")
{