Add initial project files and configurations for Unity setup

This commit is contained in:
2025-12-12 22:04:14 +01:00
commit b6106cf82b
205 changed files with 79202 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
using System;
using UnityEngine;
namespace Infrastructure.Unity
{
public class OrbViewAdapter : MonoBehaviour
{
public event Action OnCollected;
private void OnTriggerEnter(Collider other)
{
if (other.TryGetComponent<PlayerController>(out var player))
{
OnCollected?.Invoke();
Destroy(gameObject);
}
}
}
}