mirror of
https://github.com/Fluffy-Bean/Again.git
synced 2025-07-02 05:56:16 +00:00
:3
This commit is contained in:
parent
90cf5a6112
commit
24501eac1e
13 changed files with 83 additions and 208 deletions
18
endScreenScore.cs
Normal file
18
endScreenScore.cs
Normal file
|
@ -0,0 +1,18 @@
|
|||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using TMPro;
|
||||
|
||||
public class endScreenScore : MonoBehaviour
|
||||
{
|
||||
TextMeshProUGUI textBox;
|
||||
public float endTime = 0;
|
||||
|
||||
void Start()
|
||||
{
|
||||
Cursor.lockState = CursorLockMode.None;
|
||||
endTime = PlayerPrefs.GetFloat("timeScore");
|
||||
textBox = GetComponent<TextMeshProUGUI>();
|
||||
textBox.SetText("Time: {0}s", endTime);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue