diff --git a/Assets/Prefabs/Charge Counter.prefab b/Assets/Prefabs/Charge Counter.prefab index c0dde4c..78fd4a5 100644 --- a/Assets/Prefabs/Charge Counter.prefab +++ b/Assets/Prefabs/Charge Counter.prefab @@ -574,7 +574,9 @@ MonoBehaviour: m_OnCullStateChanged: m_PersistentCalls: m_Calls: [] - m_text: Press any key to continue... + m_text: 'Press + + 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 diff --git a/Assets/Scripts/ChargeCounter.cs b/Assets/Scripts/ChargeCounter.cs index 1fe45b0..7df1400 100644 --- a/Assets/Scripts/ChargeCounter.cs +++ b/Assets/Scripts/ChargeCounter.cs @@ -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)