This commit is contained in:
ThomasCharester committed 2026-05-04 12:45:12 +03:00
1 parent e1a474d4ac
commit 24b1157026
164 files changed
+68527

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
using System;
using Code.GameplayServices;
using UnityEngine;
namespace Code.PassingObjects
{
public class Coin : PassingObject
{
[SerializeField] private int countOnActivate;
private void OnTriggerEnter(Collider other)
{
PlayerScoreService.Instance.AddScore(countOnActivate);
PassingObjectsManager.Instance.KillChild(this);
}
}
}