Final typo fix.
This commit is contained in:
parent
ccb90301a0
commit
23530d3261
4 changed files with 103 additions and 4 deletions
|
@ -5358,7 +5358,7 @@ MonoBehaviour:
|
||||||
dialogTextObject: {fileID: 800722483}
|
dialogTextObject: {fileID: 800722483}
|
||||||
soundGroundCollapse: {fileID: 640560462}
|
soundGroundCollapse: {fileID: 640560462}
|
||||||
soundFall: {fileID: 640560461}
|
soundFall: {fileID: 640560461}
|
||||||
soundShake: {fileID: 0}
|
soundShake: {fileID: 640560463}
|
||||||
--- !u!82 &640560461
|
--- !u!82 &640560461
|
||||||
AudioSource:
|
AudioSource:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
|
|
@ -2316,6 +2316,7 @@ GameObject:
|
||||||
- component: {fileID: 1727909778}
|
- component: {fileID: 1727909778}
|
||||||
- component: {fileID: 1727909777}
|
- component: {fileID: 1727909777}
|
||||||
- component: {fileID: 1727909776}
|
- component: {fileID: 1727909776}
|
||||||
|
- component: {fileID: 1727909779}
|
||||||
m_Layer: 0
|
m_Layer: 0
|
||||||
m_Name: startTrigger
|
m_Name: startTrigger
|
||||||
m_TagString: Untagged
|
m_TagString: Untagged
|
||||||
|
@ -2375,6 +2376,102 @@ Transform:
|
||||||
m_Father: {fileID: 0}
|
m_Father: {fileID: 0}
|
||||||
m_RootOrder: 12
|
m_RootOrder: 12
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
--- !u!82 &1727909779
|
||||||
|
AudioSource:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1727909775}
|
||||||
|
m_Enabled: 1
|
||||||
|
serializedVersion: 4
|
||||||
|
OutputAudioMixerGroup: {fileID: 0}
|
||||||
|
m_audioClip: {fileID: 8300000, guid: 801a9847a78be5a26a8d4a322e69b55b, 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 &1803165473
|
--- !u!1 &1803165473
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
|
|
@ -18,7 +18,7 @@ public class introCutsceneDialog : MonoBehaviour
|
||||||
"K-41: It seems that I've fallen out of my game through a memory leak.",
|
"K-41: It seems that I've fallen out of my game through a memory leak.",
|
||||||
"K-41: There should be a portal somewhere down here...",
|
"K-41: There should be a portal somewhere down here...",
|
||||||
"K-41: It should take me home.",
|
"K-41: It should take me home.",
|
||||||
"K-41: It probably even has a flashing arrow pointing right at it...",
|
"K-41: It probably even has a flashing arrow pointing at it...",
|
||||||
"K-41: Anyway... I could really use some help with this...",
|
"K-41: Anyway... I could really use some help with this...",
|
||||||
""
|
""
|
||||||
};
|
};
|
||||||
|
|
|
@ -6,6 +6,7 @@ using UnityEngine;
|
||||||
public class startTrigger : MonoBehaviour
|
public class startTrigger : MonoBehaviour
|
||||||
{
|
{
|
||||||
private tetrominoSpawnManager TetrominoSpawnManager;
|
private tetrominoSpawnManager TetrominoSpawnManager;
|
||||||
|
private bool gameStarted = false;
|
||||||
|
|
||||||
// Start is called before the first frame update
|
// Start is called before the first frame update
|
||||||
void Start()
|
void Start()
|
||||||
|
@ -15,10 +16,11 @@ public class startTrigger : MonoBehaviour
|
||||||
|
|
||||||
private void OnTriggerEnter2D(Collider2D other)
|
private void OnTriggerEnter2D(Collider2D other)
|
||||||
{
|
{
|
||||||
if (other.gameObject.tag == "Player")
|
if (other.gameObject.tag == "Player" && !gameStarted)
|
||||||
{
|
{
|
||||||
|
GetComponent<AudioSource>().Play();
|
||||||
TetrominoSpawnManager.spawnTetromino();
|
TetrominoSpawnManager.spawnTetromino();
|
||||||
gameObject.SetActive(false);
|
gameStarted = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue