mirror of
https://github.com/Steffo99/beat-td.git
synced 2024-11-25 16:54:18 +00:00
18 lines
308 B
C#
18 lines
308 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class SongData : MonoBehaviour {
|
|
|
|
public float bpm;
|
|
public float delay;
|
|
public float songTime;
|
|
|
|
void Start () {
|
|
songTime = delay;
|
|
}
|
|
|
|
void Update () {
|
|
songTime += Time.deltaTime;
|
|
}
|
|
}
|