using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class noteHolder : MonoBehaviour
{
public float beatTempo;
public bool hasStarted;
// Start is called before the first frame update
void Start()
{
beatTempo = beatTempo / 60f;
}
// Update is called once per frame
void Update()
{
if (!hasStarted)
{
if (Input.anyKeyDown)
{
hasStarted = true;
}
}
else
{
transform.position -= new Vector3(0f, beatTempo * Time.deltaTime, 0f);
}
}
}
hi I am making a rhythm game but I cant get the notes to go up plz help