fix: widen note lanes and clear warnings
This commit is contained in:
@@ -18,7 +18,8 @@ namespace VRBeats
|
||||
|
||||
private void Rotate()
|
||||
{
|
||||
float rotation = Random.Range(-maxRotation , maxRotation);
|
||||
float direction = Random.value < 0.5f ? -1.0f : 1.0f;
|
||||
float rotation = Random.Range(minRotation, maxRotation) * direction;
|
||||
transform.RotateTween( Vector3.forward , rotation , animTime).SetEase(ease).SetOnComplete( Rotate );
|
||||
}
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ namespace VRBeats
|
||||
}
|
||||
else
|
||||
{
|
||||
VolumeSingleton[] instancesArray = FindObjectsOfType<VolumeSingleton>();
|
||||
VolumeSingleton[] instancesArray = FindObjectsByType<VolumeSingleton>(FindObjectsSortMode.None);
|
||||
|
||||
foreach (var volumeSingleton in instancesArray)
|
||||
{
|
||||
@@ -30,4 +30,3 @@ namespace VRBeats
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user