pooper_minigame (#62)
Co-authored-by: Michal Pikulski <michal.a.pikulski@gmail.com> Reviewed-on: #62
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user