So I have this Error does anyone know how to fix it?
Code:
Vector2 direction = ((Vector2)FleePath.Construct(transform.position, playerTransform.position, 1)).normalized;
Error:
Assets\Scripts\Enemy\GoldGhostMK2.cs(83,30): error CS0030: Cannot convert type ‘Pathfinding.FleePath’ to ‘UnityEngine.Vector2’