fix: widen note lanes and clear warnings

This commit is contained in:
jongjae0305
2026-05-26 18:54:56 +09:00
parent 182d2c90b9
commit abd3c9bb36
33 changed files with 109 additions and 93 deletions
@@ -23,7 +23,7 @@ namespace VRSDK
private void Start()
{
Player player = FindObjectOfType<Player>();
Player player = FindFirstObjectByType<Player>();
gameOverScreenFader = player.GameOverScreenFader;
}
@@ -123,4 +123,3 @@ namespace VRSDK
}
}
@@ -16,7 +16,7 @@ namespace VRSDK
private void Start()
{
characterController = FindObjectOfType<VR_CharacterController>();
characterController = FindFirstObjectByType<VR_CharacterController>();
if (characterController != null)
{
@@ -25,7 +25,7 @@ namespace VRSDK
if (anchorPoint == null)
{
Player player = FindObjectOfType<Player>();
Player player = FindFirstObjectByType<Player>();
anchorPoint = player.PocketsAnchorPoint;
}
@@ -36,7 +36,7 @@ namespace VRSDK
private void SetTeleportCallback()
{
VR_TeleportHandler teleportHandler = FindObjectOfType<VR_TeleportHandler>();
VR_TeleportHandler teleportHandler = FindFirstObjectByType<VR_TeleportHandler>();
if (teleportHandler != null)
{
@@ -102,4 +102,3 @@ namespace VRSDK
}
}
@@ -22,7 +22,7 @@ namespace Platinio
{
//get all the singletones
T[] singletons = GameObject.FindObjectsOfType( typeof(T) ) as T[];
T[] singletons = FindObjectsByType<T>(FindObjectsSortMode.None);
if(singletons != null)
{
@@ -18,10 +18,9 @@ namespace VRSDK
{
for (int n = 0; n < wallCubePartArray.Length; n++)
{
wallCubePartArray[n].Reset( resetTime );
wallCubePartArray[n].ResetPart( resetTime );
}
}
}
}
@@ -17,7 +17,7 @@ namespace VRSDK
rb = GetComponent<Rigidbody>();
}
public void Reset(float t)
public void ResetPart(float t)
{
rb.isKinematic = true;
@@ -64,4 +64,3 @@ namespace VRSDK
}
}