fix: widen note lanes and clear warnings
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user