public void ChangeCameraState(SpectatorGoBackRequestEvent e, Node anyNode, [JoinAll] NotFreeCameraNode camera) { camera.cameraESM.Esm.ChangeState <CameraStates.CameraFreeState>(); }
public void ShowGoBackRequest(SpectatorGoBackRequestEvent e, Node anyNode, [JoinAll] FreeCameraNode camera, [JoinAll] SelfBattleUserNode battleUser, [JoinAll] SingleNode <Dialogs60Component> dialogs, [JoinAll] ActiveBattleScreenNode screen, [JoinAll] Optional <SingleNode <CustomBattleLobbyComponent> > customLobby) { dialogs.component.Get <ExitBattleWindow>().Show(screen.Entity, battleUser.Entity, customLobby.IsPresent(), false, false); }