Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaewon0702 authored Nov 11, 2022
1 parent b876639 commit d2e48f4
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 0 deletions.
15 changes: 15 additions & 0 deletions Movement/BestScore.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class BestScore : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
GetComponent<Text>().text = "Best Score: " + Score.bestScore;
}

// Update is called once per frame
}
14 changes: 14 additions & 0 deletions Movement/CurrentScore.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class CurrentScore : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
GetComponent<Text>().text = "Score: " + Score.score.ToString();
}

}
13 changes: 13 additions & 0 deletions Movement/Replay.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;

public class Replay : MonoBehaviour
{

public void ReplayGame()
{
SceneManager.LoadScene("PlayScene");
}
}
Binary file added Movement/flap.wav
Binary file not shown.

0 comments on commit d2e48f4

Please sign in to comment.