Add booster pack item

This commit is contained in:
Michal Pikulski
2025-11-20 16:16:14 +01:00
parent af8cee1226
commit 67cfc813b3
15 changed files with 1484 additions and 569 deletions

View File

@@ -654,6 +654,15 @@ public class FollowerController : ManagedBehaviour
{
return _cachedPickupObject;
}
/// <summary>
/// Gets the transform of the held item's visual representation.
/// Used for animating the held item sprite.
/// </summary>
public Transform GetHeldItemTransform()
{
return heldObjectRenderer?.transform;
}
/// <summary>
/// Set held item from a GameObject. Extracts Pickup component and sets up visuals.