Hello there!
VS Community 2022 v17.2.6
Unity: 2021.3.6f1
Course: Complete C# Unity Game Developer 3D
Section 4: Argon Assault
Lecture: 95
Can’t go further since VS won’t allow me to use ScoreBoard:
public class EnemyCollision : MonoBehaviour
{
[SerializeField] GameObject deathVFX;
[SerializeField] Transform parent;
[SerializeField] int scorePerHit = 15;
ScoreBoard scoreBoard;
void Start()
{
scoreBoard = FindObjectOfType();
}
Any suggestions?