added player and danger platfroms

This commit is contained in:
Mausham
2025-12-11 12:20:01 -08:00
parent 1014b82c22
commit 60e58082ac
42 changed files with 1070 additions and 2058 deletions

View File

@@ -5,18 +5,13 @@ using VContainer.Unity;
public class GameLifeTimeScope : LifetimeScope
{
[SerializeField] private InputReader inputReader;
[SerializeField] private InputReader _inputReader;
protected override void Configure(IContainerBuilder builder)
{
builder.RegisterComponentInHierarchy<PlatformPool>();
builder.RegisterComponentInHierarchy<JumpingBall>();
builder.RegisterComponentInHierarchy<Player>();
builder.RegisterComponentInHierarchy<PlatformManager>();
builder.RegisterComponent<IInputReader>(inputReader);
}
public void IsWorking()
{
Debug.Log("True");
builder.RegisterInstance(_inputReader).As<IInputReader>();
}
}