Platformer level management

This commit is contained in:
ThomasCharester committed 2026-03-23 12:01:33 +03:00
1 parent 72070901ec
commit 1aceea1b79
94 files changed
+3656 -197

No files matched your search

@@ -0,0 +1,14 @@
using Code.Infrastructure.EventBus;
using Reflex.Attributes;
using UnityEngine;
namespace Code.Example.Platformer.Level
{
public class LevelEndTrigger : MonoBehaviour
{
[Inject] private EventBus _eventBus;
private void OnTriggerEnter2D(Collider2D other) =>
_eventBus.RaiseEvent<IPlayerReachedFinishHandle>(x=> x.PlayerReachedFinish());
}
}
@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 8241eab603dc4d86bb4bac79c0cb9740
timeCreated: 1774254263