mirror of
https://github.com/Steffo99/beat-td.git
synced 2024-11-26 01:04:18 +00:00
19 lines
308 B
C#
19 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;
|
|||
|
}
|
|||
|
}
|