Any key > Spacebar to continue

This commit is contained in:
Ava Gaiety Wroten 2020-06-17 15:36:12 -05:00
parent a1a86016fc
commit 97d02b16dd
2 changed files with 7 additions and 5 deletions

View file

@ -574,7 +574,9 @@ MonoBehaviour:
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_text: Press any key to continue...
m_text: 'Press <Space>
to continue...'
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
@ -612,7 +614,7 @@ MonoBehaviour:
m_textAlignment: 258
m_characterSpacing: 0
m_wordSpacing: 0
m_lineSpacing: -20.21
m_lineSpacing: 0
m_lineSpacingMax: 0
m_paragraphSpacing: 0
m_charWidthMaxAdj: 0
@ -645,8 +647,8 @@ MonoBehaviour:
textComponent: {fileID: 5281466200436029242}
characterCount: 28
spriteCount: 0
spaceCount: 4
wordCount: 5
spaceCount: 3
wordCount: 4
linkCount: 0
lineCount: 2
pageCount: 1

View file

@ -18,7 +18,7 @@ public class ChargeCounter : MonoBehaviour
void Update()
{
if (levelComplete && Input.anyKey) LoadNextLevel();
if (levelComplete && Input.GetKeyDown("space")) LoadNextLevel();
}
public void AddChargedPoint(GameObject chargePoint)