I notice that if there is a slime and i walk near it it throws a NullReferenceException.
NullReferenceException: Object reference not set to an instance of an object
EnemyAI.Attacking () (at Assets/Scripts/Enemies/EnemyAI.cs:93)
EnemyAI.MoveStateControl () (at Assets/Scripts/Enemies/EnemyAI.cs:62)
EnemyAI.Update () (at Assets/Scripts/Enemies/EnemyAI.cs:38)
I think it’s because the slimes don’t have the “Shooter” class added to them. Should we? and has anyone else noticed this?
Thanks.