Added option to play pickup animation for non-inventory items

This commit is contained in:
2025-08-17 23:13:39 +02:00
parent 5992c390ee
commit 4734ae953c
5 changed files with 19 additions and 2 deletions
@@ -0,0 +1,12 @@
using Babushka.scripts.CSharp.Common.Animation;
using Godot;
namespace Babushka.scripts.CSharp.Common.Items;
public partial class NonInventoryPickup : Node2D
{
public void PlayPickupAnimation()
{
GetTree().CallGroup("Pickup", VesnaAnimations.MethodName.PlayPickUpAnimation);
}
}
@@ -0,0 +1 @@
uid://dkk1vjijvgrd7