Training video script and inspector not in alignment

In the training video the player script uses
public GameObject projectile;

However this does not show up in the training video Inspector. The inspector instead shows this as “Laser”

Since enemy behaviour script also uses “projectile” is it possible that this is conflicting which results in the player ship not being destroyed. I changed player script to use
public GameObject laser;

and now it works and the player ship is destroyed.

Privacy & Terms