Changed how items work

This commit is contained in:
2026-04-18 13:18:06 +01:00
parent 8a6d2eb95f
commit 97a1659359
14 changed files with 460 additions and 995 deletions

View File

@@ -4,12 +4,9 @@ namespace Fruitomation.Game.Items
{
public class FruitBehaviour : ItemBehaviour
{
[SerializeField] private ItemType OverridenItemType;
protected override void OnInitialized()
{
Body2D.linearVelocity = Random.insideUnitCircle * 2.5f;
CurrentType = OverridenItemType;
}
}
}