Hello All,
I am trying to create a seek and destroy behaviour. It works fine until the target runs away. Then it throws an NullRefException in the "IsInGunRange" class.
A snippet from IsInGunRange class:
public override TaskStatus OnUpdate() {
if (target.Value.transform != null) {...