This commit is contained in:
Syntriax 2022-02-26 20:10:51 +03:00
parent 9ccfb47c8d
commit ee54f96c57
2 changed files with 99 additions and 0 deletions

View File

@ -115,6 +115,7 @@ GameObject:
m_Component:
- component: {fileID: 8835447878742992447}
- component: {fileID: 149832901329886555}
- component: {fileID: 3234745142331231939}
m_Layer: 0
m_Name: UI
m_TagString: Untagged
@ -151,6 +152,102 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 82d1132fe93244a46a489ce83a9d2b41, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!82 &3234745142331231939
AudioSource:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7804154879131926840}
m_Enabled: 1
serializedVersion: 4
OutputAudioMixerGroup: {fileID: 7051737336861099880, guid: 55dad93ba7816e44c83798006fa0a277, type: 2}
m_audioClip: {fileID: 8300000, guid: 077bbd63db51b5145838abe533b7a657, 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!1 &7862512882066520612
GameObject:
m_ObjectHideFlags: 0

View File

@ -97,6 +97,8 @@ namespace Level
public void DisableAllLevels()
{
Player.SetActive(false);
currentLevel = null;
foreach (Level level in Levels.Values)
level.Disable();
}