Decision WORKS YAY

This commit is contained in:
ThomasCharester committed 2026-10-23 16:15:02 +03:00
1 parent 739d1f0374
commit ccc4c04234
177 files changed
+208565 -120026

No files matched your search

@@ -6,8 +6,10 @@ using Code.Infrastructure.Camera;
using Code.Infrastructure.Generators;
using Code.Infrastructure.Input;
using Code.Infrastructure.SceneLoader;
using Code.Infrastructure.UI;
using Code.Infrastructure.Utils;
using Code.OfficeGame.BattleMode.Actions.Player;
using Code.OfficeGame.BattleMode.UI;
using Code.OfficeGame.Player;
using Cysharp.Threading.Tasks;
using KinematicCharacterController;
@@ -40,6 +42,7 @@ namespace Code.Game.TestingLevel
#endif
Context.InputService.EnableMap(ActionMappings.OpenMovement);
Context.InputService.EnableMap(ActionMappings.UI); //
await Context.Camera.SwitchState(CameraMode.OpenMovement);
@@ -69,6 +72,10 @@ namespace Code.Game.TestingLevel
playerMovementController.Freeze = true;
BattleActionDecisionPanel battleActionDecisionPanel =
(BattleActionDecisionPanel) await Context.UIFactory
.LoadPanel(UIPanelType.BattleActionDecision,false);
// ((OpenMovementCameraState)Context.Camera.CurrentBaseState).SetTarget(player.transform);
void InstallExtra(Scene scene, ContainerBuilder builder)
@@ -80,6 +87,8 @@ namespace Code.Game.TestingLevel
builder.RegisterValue(playerControlsProvider);
builder.RegisterValue(playerAnimatorProvider);
builder.RegisterValue(playerTimelineActor);
builder.RegisterValue(battleActionDecisionPanel);
}
await UniTask.WhenAll(