Hi Rick! When doing one of the challenges in the video I noticed you referenced the Laser differently and I’m wondering if I’m doing something wrong.
This is how I did it –
- In the Laser.cs class definition:
Laser laser; - In Start():
laser = GetComponent();
This is how you showed us to do it –
[SerializeField] GameObject laserPrefab;