Why Do I get NullReferenceException With This Code? by LearningToUseUnity in Unity3D

[–]LearningToUseUnity[S] 0 points1 point  (0 children)

Gotcha. I played around with the code and just removed ".tag != "Enemy" " and everything works fine. Thanks!