Added option to play pickup animation for non-inventory items
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user