ProjectSquareBall/Assets/Scripts/Prep/Marker.cs
2024-09-04 18:39:41 +05:30

13 lines
267 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Marker : MonoBehaviour
{
public float myTime = 0f;
void Update(){
transform.position = new Vector3(myTime * AudioAnalyzer.instance.zoomingYMult, 0);
}
}