Underwater scene

You can add some empty gameobjects as waypoints and move the fish to them randomly. (Or create directly the animations and play them with an animator).

3D pathfinding is very expensive and i think Unity doesn't have support to that.
 
Then move the fish to the player position with... I think it's called "Translate" and when in range inflict damage.

If you have obstacles to avoid, then it will be a little complicated because you will need to use raycasts to check if the fish can move to the position that you want.
 
Yes, can see object task will use raycast to check if the player can be seen so it will totally work.

The only trouble that i see ahead, is how the fish will be avoiding obstacles. (unless you do that your fish doesn't have collider, which will make him unkillable also because bullets won't be able to collide with them).

Edit: I think that A* pathfinding can work with 3D space
 
Top