HeavenStudioPlus/Assets/Scripts/WTF.cs

15 lines
383 B
C#
Raw Normal View History

2021-12-19 04:10:43 +00:00
using UnityEngine;
2021-12-21 01:10:49 +00:00
// this is a script for testing
namespace RhythmHeavenMania.Tests
2021-12-19 04:10:43 +00:00
{
2021-12-21 01:10:49 +00:00
public class WTF : MonoBehaviour
2021-12-19 04:10:43 +00:00
{
private void Update()
2021-12-21 01:10:49 +00:00
{
this.gameObject.transform.rotation = Quaternion.Euler(0, 0, Mathf.Lerp(0, 360, Conductor.instance.loopPositionInAnalog));
print(Conductor.instance.loopPositionInAnalog);
2021-12-21 01:10:49 +00:00
}
}
2021-12-21 01:10:49 +00:00
}