consolidate all repos to one for archive

This commit is contained in:
2025-01-28 13:46:42 +01:00
commit a6610fbc7a
5350 changed files with 2705721 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
public class TimerSk3 : MonoBehaviour
{
public TextMeshProUGUI mssg;
float timePlaying;
private bool gameOn;
// Start is called before the first frame update
void Start()
{
timePlaying = 0;
gameOn = true;
}
// Update is called once per frame
void Update()
{
if (gameOn)
{
timePlaying += Time.deltaTime;
int sec = (int)timePlaying % 60;
int min = (int)(timePlaying / 60);
mssg.text = string.Format("{0:00}:{1:00}", min, sec);
}
}
public void StopTimer()
{
gameOn = false;
}
}