Pulver correctly goes and retrieves the item. Items still need to be enabled again after a failed couroutine

This commit is contained in:
Michal Pikulski
2025-09-04 00:14:31 +02:00
parent 0c930d09a4
commit 65d8be6cf2
4 changed files with 203 additions and 85 deletions

View File

@@ -113,7 +113,6 @@ public class Pickup : MonoBehaviour
{
followerController.OnPickupReturned -= OnFollowerReturned;
pickupInProgress = false;
Destroy(gameObject);
}
playerController.OnArrivedAtTarget += OnPlayerArrived;
Vector3 stopPoint = transform.position + (playerObj.transform.position - transform.position).normalized * playerStopDistance;