fix: widen note lanes and clear warnings
This commit is contained in:
@@ -11,8 +11,6 @@ namespace VRBeats
|
||||
[SerializeField] private BoxCollider playZone = null;
|
||||
[SerializeField] private Transform player = null;
|
||||
[SerializeField] private VR_BeatSettings settings = null;
|
||||
[SerializeField] private GameEvent onGameOver = null;
|
||||
|
||||
private AudioManager audioManager = null;
|
||||
private EnviromentController enviromentController = null;
|
||||
private PlayableDirector playableDirector = null;
|
||||
@@ -24,20 +22,17 @@ namespace VRBeats
|
||||
|
||||
public Transform Player { get { return player; } }
|
||||
|
||||
private int playerConsecutiveMiss = 0;
|
||||
|
||||
protected override void Awake()
|
||||
{
|
||||
base.Awake();
|
||||
audioManager = FindObjectOfType<AudioManager>();
|
||||
enviromentController = FindObjectOfType<EnviromentController>();
|
||||
playableDirector = FindObjectOfType<PlayableDirector>();
|
||||
audioManager = FindFirstObjectByType<AudioManager>();
|
||||
enviromentController = FindFirstObjectByType<EnviromentController>();
|
||||
playableDirector = FindFirstObjectByType<PlayableDirector>();
|
||||
}
|
||||
|
||||
protected override void Start()
|
||||
{
|
||||
base.Start();
|
||||
playerConsecutiveMiss = 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user